I've noticed that in my studies of Quantum Phenomena, it is a fundamentally important concept that accelerating electrons produces light, as it's a really important concept in stuff like the inverse Compton effect and lasing.
This light is always released with a frequency equal to the amount of energy leaving the electron and going into the system (like if an electron loses speed from the deflection of an atom). But why is this leftover energy converted into light? Why not vibration/heat into the system? If my question is confusing, let me know and I'll elaborate.