The short answer is that as it orbits the Sun. The Secret: Earth’s 23.5-Degree Tilt
Because the hemisphere is tilted toward the sun, the sun appears much higher in the sky at noon than it does in winter. A higher sun takes a longer, arched path across the sky. Because it has a longer distance to travel from sunrise in the east to sunset in the west, it spends more time above the horizon.
The changing length of our days is one of the most noticeable rhythms of nature, yet the reason behind it remains a mystery to many. Contrary to the common misconception that the Earth moves closer to the sun in summer, the phenomenon is actually caused by the mechanical geometry of our planet—specifically, its axial tilt. why are days longer in the summer
The most dramatic example of this phenomenon occurs at the poles. Because the Earth is a sphere, the 23.5-degree tilt has an exaggerated effect at high latitudes.
Crucially, this tilt is fixed. As the Earth orbits the sun over the course of a year, its axis remains pointed in the same direction in space (currently toward the North Star, Polaris). The short answer is that as it orbits the Sun
Conversely, in winter, the sun stays lower in the sky. Its path is a short, low arc, meaning it rises later, stays lower, and sets earlier.
The tilt of the Earth's axis causes longer and hotter days in the summer and shorter and colder days in the winter. YouTube·Canon Why are the days longer in Summer? Because it has a longer distance to travel
That hemisphere is tilted away from the Sun.