The sun is small and local and rotates above us. Hence why it is written:
Jos 10:13 And the sun stood still, and the moon stayed, until the people had avenged themselves upon their enemies. Is not this written in the Cepher of Yashar? So the sun stood still in the midst of heaven, and hastened not to come about a whole day.