If you want the syntax explanations, quora has got the exact question you have answered
I mean, can't you treat the different meanings as different words? Like, I doubt every language has an equivalent word to English 'while', most likely they have different words for each use, so in that case, it's like you're comparing two unrelated words, kinda?