Blueshift is observed when:
a distant luminous object travels rapidly towards an observer.
This phenomenon occurs because the wavelengths of light emitted by the object are compressed, resulting in a shift towards the blue end of the spectrum as the object moves closer.