Genesis as being more concerned with teaching theology (God’s relationship with the universe) as opposed to its being concerned with cosmology (how the universe was created).
Jewish Publication Society (JPS) version of 1985, “1 When God began to create heaven and earth—2 the earth being unformed and void, with darkness over the surface of the deep and a wind from God sweeping over the water—3a God said, ‘Let there be light.’”
NASB 1 In the beginning God created the heavens and the earth. 2 The earth was [a]formless and void, and darkness was over the [b]surface of the deep, and the Spirit of God was [c]moving over the [d]surface of the waters. 3 Then God said, “Let there be light”; and there was light.
Expedition 44 DOC RYAN