Not sure why you jumped from the sun and moon to evolution but a sequence is evolutionary. I infer it because Genesis says God "made" them to serve roles in our sky, for signs, seasons, and illumination upon Earth. It doesn't say God created them, it says God appointed or designated them to be in our sky.
Earth didn't appear until the 3rd day, thats why the objects in Earth's sky dont appear until the 4th day. Whatever was shining before that was not illuminating Earth, it was illuminating water. Thats why Genesis says night and day were the 1st day while the Earth was still under water until the 3rd day.
How did water precede the big bang? How did a formless Earth precede the universe? Look at Gen 1:2, that was the situation before God arrived to interact with the dark, water covered world before "creation". Where did you find the word universe in Genesis?
God separated darkness from light and called them night and day... Our night and day happen because this world spins near a star. If there was no star nearby there'd be no night and day, just darkness.
Gen 1:1 is a title, nothing more... The actual story begins with Gen 1:2. If you read Gen 1:1 as the beginning of the story you end up with Heaven and Earth being created twice. They'd be created before the 1st day of creation which makes no sense if Heaven and Earth were created in 6 days.
In the beginning doesn't refer to the beginning of the universe, it doesn't even refer to creation - Heaven and Earth appear in the story on the 2nd and 3rd days.
The dry land was called Earth and Heaven is not the atmosphere, the primordial world covered by water in Gen 1:2 already had an atmosphere - it needed one if it was covered by water. Now if the water was covered by ice maybe an atmosphere wouldn't be needed but Heaven is described as something firm, even metallic - a hammered out bracelet. How does Earth have an atmosphere before Earth appears in the story?
The Moon forming event occurred much earlier and is not the subject of Genesis. The Earth (the planet) was moved into a closer orbit when darkness was turned into night and day (light). That was the 1st day, but the Earth didn't appear until the 3rd day - thats why Earth's sky is described on the 4rd day, not the 2nd...
If the universe began with the light, why does God call the light "day"? What was happening before the light? A formless Earth (dry land) was under the deep (tehom) and in darkness followed by the arrival of God's spirit hovering over the waters.
The dry land was formless and void because it wasn't dry yet, it was submerged. God "pull"ed the dry land out from under the water on the 3rd day and called it "Earth".
The water and the primordial world it covered (Earth without form) preceded the firmament, they even preceded God - Gen 1:2 describes the situation before God shows up to create. Earth's sky didn't exist before the Earth, the objects that would appear in Earth's sky on the 4th day were already in existence. But there positions changed from our perspective because Earth's sky was different from the sky of that primordial world in Gen 1:2.
4+ bya the solar wind had depleted the inner solar system of water vapor, whatever didn't get picked up by Mercury, Venus and Mars was pushed out to the asteroid belt where it condensed. Thats where our water came from. Researchers are trying to explain how without considering the possibility this planet came from there too.
So this snow line divided the solar system's planets into 2 groups, the inner rocky worlds and the gas giants beyond. This is described in the Enuma Elish, Tiamat was in the middle between Mars and Jupiter. There is a bunch of water out there at and beyond the asteroid belt, researchers have even found the belt itself is divided into a relatively dry inner belt and water laden outer belt.
Now they probably think the belt never formed as a planet because it lacks the material now, but moving the Earth there solves that problem. And they're apparently convinced Jupiter got really big before a planet could form 1/2 its distance from the sun - at the snow line no less - but the asteroid belt may not reflect the snow line 4.5 bya, but 4 bya when Heaven and Earth were separated.
Its possible Jupiter wasn't as big before 4 bya, the collision at the asteroid belt released plenty of material to be swooped up by the outer planets and Jupiter was first in line.
Anyway

, if the water above the firmament "came back" to Earth? Were they once together? Does that mean the world before Noah had much lower sea levels? Well I guess so... Seas rose ~400 ft as the ice age ended, but sea levels must have been far lower if the Flood dumped water on us from space.
Ancient peoples knew the world was round, but describing it as flat for observing the sky is practical. Changing latitudes reveals a curved surface and eclipses show a circular world like the moon...and the moon's phases reveal a round world.