I hope someone could correct the mistakes I'm making in my speech. Thanks.
Some say that when matter heats up, its atoms start accelerating faster in random directions exchanging energy by bumping into eachother.
Accelerating atoms inside a material are supposed to emit EM waves. So when matter heats up, it starts emiting more energy as EM radiation. If we accelerate a free charge it starts emiting light. The same is true for accelerating ions which are just atoms with an unbalanced charges. Does the same happen for atoms if they are not bound in a material?
That seems to me like both electrons and protons emit light as they accelerate in the same directions inside the atom which is bound to a material. But its EM waves destructively interfere so they should emit nothing. But wouldn't that mean they lose energy anyways because they've all emited it?
Other people say that heated atoms don't really accelerate but the electrons jump to a higher energy state, and when they fall down, they emit light. But that would mean that accelerating ions then shouldn't emit EM waves.
What is correct interpretation then?
Both can't be correct.