The apparent movement of the Sun across the sky is not actually caused by the Sun physically moving, but rather by the Earth's rotation on its axis. As the Earth rotates on its axis, different parts of the planet face the Sun at different times of the day, causing the Sun to appear to move from East to West.