Would you be mad?

So today I received a message from an old friend , it’s been 4 years since we don’t talk to each other, in those 4 years me and my husband had a daughter. Well, he sent me a message and to be honest I didn’t want to talk to him but he did nothing to me so I was trying not to be rude and answer, we talk a few minutes and then I ask him who gave you my number and he said , your sister, so I was like well, and the he told me , “well it’s being a long time, you even have a daughter” so I was like yes , it’s been so long, we continued talking about random stuff, and then he goes again, “show me your baby” I didn’t answer, a few messages more he goes, “when did you get pregnant?” That question made me so angry, like wtf I don’t have to answer that. You’re not my gyno. I don’t want to text him anymore seriously. Plus I have really bad anxiety and it makes me think that talking to people from my past will make it worst, I’m having bad anxiety right now. Do you think I was rude? Or that he was rude?