Do you agree on this definition?
Assuming so, I hear you asking how can asking particular questions get you this? I'll assume you have good will and are willing to engage with friendliness.
Simply asking specific questions about health, about diseases, about diet, about social media addiction, about controversial topics like politics, etc release hostility from a handful of people. These people engage with ill will and not friendliness. And it is assumed by them that the asker (me usually) meant unwell - this hostility represents my intentions and assumptions as ill will assumptions. Oddly enough this usually is strongest from people with strong identity attachment to a particular belief or set of beliefs that when questioned releases so much dissonance their nervous system gets hijacked and without the emotional intellgience or mindfulness skills to pause before they engage what comes out is a slop of hostility and aggression most commonly being Ad Hominem or Straw Man attacks as I've mentioned. All when all I did was asked questions.
When someone demonstrates this without actually inquiring into ones assumptions or why they asked, thats a clear demonstration of hostility.
Do you need more examples?