Isn't ir inappropriate to ask someone's relationship status in a job interview?

OlderThanILook
I applied with a startup and they asked me if I was married or in a relationship, which striked me as odd. I reluctantly answered because you can't really dodge question in an interview if you want to be successful... but afterwards I asked my recruiter why the interviewer did that and she said it was to get an idea of someone's personality.. Seems kinda weird.
Isn't ir inappropriate to ask someone's relationship status in a job interview?
4 Opinion