Potential date asked random question

Would you be taken back from a guy asking if you’ve ever been married or had children before meeting up for a date? I said no to both questions but at the same time why would it matter if someone was married before or has children? Are they not worthy or dating suddenly? Maybe I’m overreacting but I guess people like to know beforehand…