Do you think the below two things a guy said are to some degree rude?

Anonymous
A guy said these two things. Are they to some degree rude or just his sense of humor? These quotes are all exactly word for word since I happen to remember them well. What do you think of these? As far as his age goes he was about 22 at the time.

I said “I wonder how it would affect someone if they grew up poor.”

He said “well it’s not your science project you have a kid and he’s born with nothing”. (He seemed kind of offended).

He was my supervisor. I was crying in the restroom, then came back and let him know. Then I began talking to a co-worker who wasn’t assigned to the windows, and to the best of my memory it was only for a few minutes.

He told me “oh I’m not going to have you not working”.
Updates
+1 y
People have asked why I was offended, and for background to explain why I was offended.
I think that’s because they don’t find these rude in themselves, so they think there must be some other type of reason having to do with context that caused me to find these somewhat rude.
Maybe I’m imagining things based on these answers. I do think I have borderline disorder which can sometimes make you imagine people have bad intentions that they don’t have.
Updates
+1 y
My brother thought these things were offensive, some people haven’t though, they have different opinions then so I thought I’d ask.
Do you think the below two things a guy said are to some degree rude?
2 Opinion