The Doppler shift explains the variation in photon energy observed from different sides of a star due to the relative motion of atoms emitting light. Atoms moving toward an observer emit higher energy (blue-shifted) photons, while those moving away emit lower energy (red-shifted) photons, despite emitting photons of the same energy in their rest frame. This phenomenon highlights that photon energy is not absolute but depends on the observer's frame of reference. The discussion emphasizes that the energy of a photon can appear to change without interaction, as it is relative to the observer's motion. Understanding this requires acknowledging the differences in reference frames, similar to how kinetic energy varies based on the observer's perspective.