What causes the sunlight to hit different latitudes on Earth at different angles?(1

The earths tilt on its axis and the sun's distance from the earth