The intensity and distribution of the wavelengths emitted by an object depend on the object's temperature
As the temperature of an object increases, the intensity of every emitted wavelength increases, but the intensity increases more rapidly for shorter wavelengths than longer wavelengths
This causes the peak wavelength (the wavelength with the highest intensity) to decrease as the object gets hotter
Changes to the atmosphere can cause a change to the Earth's overall temperature. If the atmosphere starts to absorb more radiation without emitting the same amount, the overall temperature will rise until absorption and emission are equal again