What is the term for a word that's spelled the same as another word but has a different meaning?
These words are known as homographs. Homographs are words that are spelled exactly the same but have different meanings and origins. Some homographs are pronounced in the same way (e.g. bank = the land alongside a river or lake, and bank = a financial establishment). Others have different pronunciations according to their meaning (e.g. wind = the natural movement of the air, and wind = move in a twisting or spiral course).
You may be interested in: What is the term for a phrase combining two words that mean the opposite of each other?
Also: What is the term for a word which is another word spelled backwards?