What condition causes light to experience a blueshift?

Answer

The light source is moving toward the observer

Blueshift occurs when the light source is moving toward the observer, causing the light waves to be compressed, resulting in a shorter wavelength and a shift toward the higher-frequency, bluer end of the spectrum.

What condition causes light to experience a blueshift?
astronomyuniversecosmologyblue shiftred shift