Answer
The Doppler effect reveals that.
Work Step by Step
The Doppler effect causes the spectral lines emitted by receding stars to be shifted to longer wavelengths ("red-shifted"). The Doppler effect causes the spectral lines emitted by approaching stars to be shifted to shorter wavelengths ("blue-shifted").
This is discussed on page 569.