(defensively) Why are you asking? Why do you want to know?.
"I saw you in the chemist yesterday, what did you buy?" / "What's it to you?"
Mind your own business; it's none of your business.
"Hey, leave that girl alone." / "What's it to you?"