SO acting different since gender

My husband has been depressed and indifferent to me ever since we found out it's a girl..I would be so happy either way--I've had a miscarriage and so much pain in first trimester..why would he do this to us?? There's so many reasons to be happy😞 I don't know how much more of his indifference and coldness I can take