During Summer, the Sun's rays have a shorter distance to travel through the atmosphere, so remain warm. During Winter, the Sun is at a lower lever and the rays travel further through the atmosphere, so there is more time for the sun's warmth to cool.