This is called the Doppler Effect. It is the alteration in frequency of a wave when the source, the light waves in this situation, and the observer are moving away from each other. The reason for stars to appear further from the observer is the constant expansion of the universe.