Doppler's effect does not happen when the observer is moving
towards the source because unlike the source when observer moves
forward the waves are not compressed and they pass the observer
without being compressed and since the doppler effect is due to the
Change in wavelength of the wave, it fails to occur.