3 And God said, “Let there be light,” and there was light. 4 God saw that the light was good, and he separated the light from the darkness. 5 God called the light “day,” and the darkness he called “night.” And there was evening, and there was morning—the first day.
People ask this question. The sun and the moon wasn't formed on the first day of creation so this event is not scientific. People forget this fact. God is greater than our thoughts. He can do many things, so mankind limit God in many ways.