The color of most* LEDs is controlled by the band gap of the semiconductor they're using. Reducing the temperature of the material widens the band gap, so the forward voltage of the diode increases and the wavelength of the emitted light gets shorter
https://www.sciencedirect.com/science/article/abs/pii/003189...
*: With the exception of phosphor-converted LEDs, which are uncommon.