Seasons changed due to the earths position and its orbit around the sun.
The earth rotates around an axis, one point of the earth is facing the sun while
another is not then it rotates so the other is closer to the sun.
Solar energy also has a part.