A team has found the mechanism behind the sudden onset of a ‘natural thermostat’ in Earth’s upper atmosphere that dramatically cools the air after it has been heated by violent solar activity.