Question: why does mhm mean yes?
Answer: It's not really the “mhm” that means yes. It's the TONE. “mhm” with a different tone can also mean no, or sarcastic agreement. The meaning isn't in the letters.