Yes there is a gap...
Gen 1:1 In the beginning God created the heaven and the earth.
Gen 1:2 And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.
A better translation for verse 2 is the earth became chaos and confusion.
the word "was" in verse 2:
H1961
היה
hâyâh
haw-yaw'
A primitive root (compare H1933); to exist, that is, be or become, come to pass (always emphatic, and not a mere copula or auxiliary): - beacon, X altogether, be (-come, accomplished, committed, like), break, cause, come (to pass), continue, do, faint, fall, + follow, happen, X have, last, pertain, quit (one-) self, require, X use.
Here the word become is translated from the same Hebrew word...
Gen 3:22 And the LORD God said, Behold, the man is become as one of us, to know good and evil: and now, lest he put forth his hand, and take also of the tree of life, and eat, and live for ever:
the Hebrew words for without form and void are tohu and bohu...
without form:
H8414
תּהוּ
tôhû
to'-hoo
From an unused root meaning to lie waste; a desolation (of surface), that is, desert; figuratively a worthless thing; adverbially in vain: - confusion, empty place, without form, nothing, (thing of) nought, vain, vanity, waste, wilderness.
void:
H922
בּהוּ
bôhû
bo'-hoo
From an unused root (meaning to be empty); a vacuity, that is, (superficially) an undistinguishable ruin: - emptiness, void.
Job 38:4 Where wast thou when I laid the foundations of the earth? declare, if thou hast understanding.
Job 38:5 Who hath laid the measures thereof, if thou knowest? or who hath stretched the line upon it?
Job 38:6 Whereupon are the foundations thereof fastened? or who laid the corner stone thereof;
Job 38:7 When the morning stars sang together, and all the sons of God shouted for joy?
why would the angels shout for joy when the earth was chaos and confusion? And with that thought...
1Co 14:33 For God is not the author of confusion, but of peace, as in all churches of the saints.
The earth was created perfectly 4.5 billion, million, quadrillion or whatever years ago, but became a mess at the rebellion of Satan. God recreated the earth approximately 6000 years ago beginning in verse 3 of Genesis 1.