in classical physics, when a charged particle oscillates, it emits an electromagnetic wave, and the frequency of the wave depends on the frequency with which the particle oscillates.
But in quantum physics, when an excited atom emits a photon, the energy of the photon depends on the magnitude of...