Answer:
The Sun gives off UV radiation and heat waves, when tilted closer, it is closer to that UV radiation and heat waves.
For example, if you put a heat lamp closer to a rock the rock would get warmer, if you put it further away it would receive less heat therefore making less warmer.