There are multiple things that could be occurring in your current situation. This boy could possibly like you but is trying to impress his friends when their around by acting funny or immature, possibly to imply that he does not take his feeling seriously about you , but in fact he might. He could also be a total jerk who you do not want to be involved with. Doesn’t mean he isn’t attracted to you though…That comment about the pregnancy thing was really vulgar and gross. If I heard that, I would ignore the person all together and send a message that you felt disrespected. That is just me though. And again, he could just be saying this because his friends are near… good luck.