The mother, or the parents-to-be, should make the decision. Some share names and sexes of babies with family, others with close friends. It may be easier for guests to purchase gifts if the information is public and known.