That's vastly overstepping commonly accepted boundaries. Sure, some surface level smalltalk is normal and expected: "Any hobbies? Ah, you like hiking? Nice. Where do you like to hike? Oh, I did that, too. Might I suggest hiking there and there? I bet you'd like it. Anyway, moving on!" Common ground helps conversations flow.
But an employer asking about your personal relationships? Your needs, fears, and desires outside of any technical context? (My needs, fears, and desires from compiler toolchains are totally within scope.) Your traumata? That's a level of intrusiveness crossing into "rude" territory. They have no business of asking.