The Earth?s axis is not vertical. It is tilted to one side. It stays this way as it orbits the sun. This tilt causes changes in the length of the day. The longer and shorter days cause changes in temperature. These changes are what cause the seasons.
This is an encyclopedic article about how the Earth's tilt causes seasons.