בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
First, the Almighy created that which is stretched out and that which is dry.
I know, I know, the creation at this point is literally, the lofty realm and solid ground. However, the text defines the stretched stuff and the dry stuff as "heaven/sky/air" and "earth/land/ground". So, it is my contention that the building blocks of all that we see was original quite literally invisible, and the space containing it was much smaller. Space was bound by the "hand" of God as a place to organize the quanta (the truly indivisible particles). There apparently were at least 4×10^58 of these partcles in the singularity that God tore apart to make the expanding universe. Though quanta are so tiny, they are packed with all the potential energy that became all the matter in the vastness of space.
This is my humble attempt to tie the theories of Isaac Newton and Albert Einstein to the raw data in Genesis 1. Starting with an idea, the Word preceded to tell His Story. He bestowed mankind with a small part of that creativity as seen great and small works of art and working saving inventions.
What started out small grew exponentially to what we see in our night sky on a cloudless night. Every step of the way God worked miracles so that we now have a largely independent "natural world" to live and work in.