When it comes to space expanding, I have my own model of how I think it works.
Since God created the universe in the hollow of His hand (Isaiah 40:12), I believe that the earth and stars were much closer to each other at one point.
Then, in a moment of time, God expanded the universe outward, and its contents began expanding to fill up the void.
Kind of like having small balloon filled with air, and then suddenly, in a trillionth of a second, expanding that balloon to a mile in diameter.
The air in the balloon will then begin expanding until it either reaches the edge of the balloon, or until it exhausts its kinetic energy.