Parents actually do this on tours!?!

“Why do you ask?” Said somewhat slowly and looking them directly in the eye typically makes people realize they crossed over the nosy line.
I find this approach most often leads to them to pose a different question that may be more polite/appropriate. If they respond with something like, “I don’t know, just curious.” That response can be met with silence or a simple, “Oh.” :^o