Studies in Genesis 1
And God made the two great lights — the greater light to rule the day and the lesser light to rule the night — and the stars. And God set them in the expanse of the heavens to give light on the earth, to rule over the day and over the night, and to separate the light from the darkness.(Genesis 1:16-18 ESV)
God created stars and planets. I am stating the obvious but we tend to ignore the reality and immensity of these objects. They are real places. They are far away. Yet, they must be there to maintain the balance of the universe.
Within close proximity to the Earth, which by the fourth day is covered in vegetation, God placed a “greater light” the Sun, “to rule the day” and a “lesser light,” the Moon, “to rule the night.” God placed the greater light in the center of the solar system with all of the planets revolving around it. He placed the lesser light an orbit near Earth.
Earth revolves once every 24 hours on its axis around the Sun. As the Earth revolves part of the planet is facing the Sun receiving its light while the other part is facing away from the Sun. This does not mean the part facing away is in total darkness. God placed the Moon, which revolves around the Earth once every 28 days, to reflect the light of the Sun. He also placed in the heavens the stars which also give light to that part of the Earth facing away from the Sun.
While the Sun emits light the Moon only reflects the light which bounces off its surface from the Sun. The Moon is a dead chunk of matter. Yet God placed it in the heavens to reflect light from the Sun onto the Earth, along with the stars, so there would not be complete darkness. He created day and night, just as He created darkness and light.
Our solar system is in equilibrium, everything placed exactly where it will provide the most stability to Earth to maintain life.
Equilibrium is a law of nature. God determined, from the creation of all matter, that His universe would balance. God made the universe stable. Even though everything in the universe is constantly moving the movement is within a system and along a path determined by God. The forces which cause movement are countered by the forces moving against the object.
Nothing God does is random or arbitrary. Everything He creates has purpose and is governed by God, the Creator.