Because the earth's axis is tilted. It is all about the tilt of the Earth's axis. Many people believe that the temperature changes because the Earth is closer to the sun in summer and farther from the sun in winter. In fact, the Earth is farthest from the sun in July and is closest to the sun in January! During the summer, the sun's rays hit the Earth at a steep angle.