As space expands, light waves are stretched. The further light travels, the more its wavelength increases, shifting from blue toward red.