Was this rude to ask?

I asked my boyfriend of 7 months did he have any kids because It was fathers day. It was a joke but he was not happy with me asking him that.

Was this rude to ask?
Post Opinion