In Mandarin, 怎么 has three major meanings as interrogatives - how, what, and why. It is quite perplexing for me to understand which interrogative someone tries to ask in.
For example, when I posted in WeChat that my weather app predicted the today's weather terribly in Shanghai, my friend added the following comment:
However, while I assume she tried to ask me "Why have you come to Shanghai again?", it can also be translated as "How have you come to Shanghai again?", which I will reply with "In flight".
Sometimes it is difficult for me to understand why this word has three interrogatives and which one is correct in the context. I also wonder why people don't avoid the potential conflict of meaning and instead just use a more easily recognizable word like 为什么 and 什么, if possible.
Or do Chinese people discern this difference pretty easily? Or is it completely dependent on the context? Any tips on discerning it better?