The University of Vienna found that yawning depends on the temperature surrounding you, and a sharp intake of air can instantly cool down your brain. Therefore, yawning consistently occurs more often in hotter temperatures, and also when you're tired, because your brain struggles to maintain a constant temperature.