How do i fix this

it’s because the sun rotates with the camera that you use.

just figured it out, i needed to press the sun button in the inspector tab