What causes some people to feel sympathy and compassion for complete strangers?

I’m the how do I look section I have always skipped questions of people I found physically unattractive asking for opinions about their looks because the thought of calling another person ugly makes me feel bad.
What causes some people to feel sympathy and compassion for complete strangers?
Post Opinion