I was reading the answers for this question: Why do moving particles emit thermal radiation? Because I'm trying to understand why does a solid object emit radiation if it's hot.
The two main answers in that question are slightly different in my opinion. One suggests that radiation is generated from electrons being exited and decaying due to lattice vibrations; and the other suggests that those lattice vibrations result in oscillations in the electron density which result in transient dipoles (that emit EM radiation).
So which one is it? Or are both responses explaining the same phenomenon at different scales? Or are those two mechanisms working at the same time?