 In extreme temperatures, our bodies have to work harder to keep cool, and with that comes the release of cortisol, the body's stress hormone. That can lead to the loss of sleep, which then turns into irritability.