The words baiting, bating sound the same but have different meanings and spellings. Why do baiting, bating sound the same even though they are completely different words?
The answer is simple: baiting, bating are homophones of the English language.
Present participle of bait.
A bloodsport involving the act of worrying or tormenting a chained or confined animal by setting dogs upon it.
The act of luring, as into a trap.
Present participle of bate.
Apart from; except.
Definitions 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.