What causes the setting of the Sun?
Earth is rotating on its axis.
The distance between Earth and the Sun is increasing.
The tilt of Earth on its axis is constantly changing.
Earth is revolving around the Sun.