How do you keep people at arms length and to stop digging into your personal business without offending them?
If they see you are uncomfortable they assume you have a secret, so they are curious.
Or they are just interested in getting to know you. It depends on the type of question.
You can just say, "I'd rather not talk about it."