The words resting , wresting sound the same but have different meanings and spellings. Why do resting , wresting sound the same even though they are completely different words?
The answer is simple: resting , wresting are homophones of the English language.
Occurring during a state of inactivity.
In a temporary phase of not growing, dividing, or being active.
a. & n. from <xref urlencoded="rest">rest</xref>, v. t. & i.
a spore in certain orders of algæ, which remains quiescent, retaining its vitality, for long periods of time.
Present participle of <xref>wrest</xref>.
Definitions from The American Heritage® Dictionary of the English Language, 5th Edition., from the GNU version of the Collaborative International Dictionary of English., from Wiktionary, Creative Commons Attribution/Share-Alike License. and Wordnik.
Homophones (literally "same sound") are usually defined as words that share the same pronunciation, regardless of how they are spelled.
If they are spelled the same then they are also homographs (and homonyms); if they are spelled differently then they are also heterographs (literally "different writing").