My boyfriend pisses me off when he says this to me?

Okay so I was trying to have a conversation with him.
Well I’m pregnant and he was thinking of what his friends reactions would be and it sounded pretty negative. He was thinking what one of his friends would say and he said that he things he would say “eww why are you having a baby”
I don't know about you but that sounds very bad and very negative. Like I don’t want to be around people like that lol.
I want to be around people who are very happy for me, us and our baby.
And I’m not getting that with his friends since he feels like they would be negative reactions. And I don't know the way my boyfriend explained things sounded bad.
Then he said that that’s how men are.
Then it just made me think that men perceive marriage and kids as a bad thing. I mean it can be but not when it’s with the right person. Marriage and kids can be a beautiful thing, but some men perceive it in a negative way.
If his friends perceive this in a negative way it will make me feel like me and my baby aren’t wanted. ( I didn’t tell him this cause then he’s just gonna tell me stuff of how I’m sensitive and probably wouldn’t get me anyways) but can’t I just talk to him and just share thoughts?
The things that he tells me that piss me off is how I take things personal, and to let things go and the “here I go again” but it’s like can’t I just talk to him, share my thoughts with him, tell him how I feel? Or would feel if it were like that?
It makes me so mad when he tells me that I am too sensitive and things like that. And I don't know I just got so mad and told him to shut up. I don't know im just pretty much venting rn cause I don’t like when he says things like that. I was simply just trying to talk to him.
My boyfriend pisses me off when he says this to me?
Post Opinion