If an atom moves towards a source of radiation, the frequency of which is f, it 'sees' a frequency f + Δf and if the latter is one of its natural resonances, it will absorb the photon (energy hf ). Later the atom will return from the excited state, emitting a photon of energy h(f + Δf) and so overall it will have lost hΔf .