Are they even allowed to ask this stuff in interviews?

I did an interview for a receptionist role and we were just talking about my background and I mentioned how I just moved to the area with my partner the interviewer asked me awkwardly “Oh so you said partner earlier on, are you like married or are you dating someone” and then was asking if I had kids… There was tension the whole interview and I felt the interviewer was extremely rude and pushing with certain questions but I feel like this is highly inappropriate, maybe I’m wrong. I’ve never had anyone ask me these questions in an interview before…

Author: imonthiswaytoomuch