CBSE Class 9 Answered
Dear student,
It is because of the doppler effect. Almost everyone has experienced the Doppler effect, though perhaps without knowing what causes it. For example, if one is standing on a street corner and an ambulance approaches with its siren blaring, the sound of the siren steadily gains in pitch as it comes closer. Then, as it passes, the pitch suddenly lowers perceptibly. This is an example of the Doppler effect: the change in the observed frequency of a wave when the source of the wave is moving with respect to the observer. The Doppler effect, which occurs both in sound and electromagnetic waves—including light waves—has a number of applications. Astronomers use it, for instance, to gauge the movement of stars relative to Earth.
Hope this helps.
Topperlearning.com