How blueshift might beat redshift
In collapsing objects, light could get squeezed rather than stretched

BLUE HUE Gravity causes pockets of gas and dust to collapse in star-forming regions such as the Carina nebula (shown), compressing light into shorter, bluer wavelengths, a new study finds.
NASA, ESA, M. Livio/Hubble 20th Anniversary Team/STScI