Our mind can not comprehend how something can come into existence out of Nothingness. We will have to consider some pre-existing cloud, liquid or some solid to begin with.
So it is thought that all Matter was condensed into a small ball- a Singularity. The Cosmos started with an explosion- a Big Bang. Thus metagalaxies were formed and then galaxies and stars were formed.
Now the question arises how Space entered between Molecules, between Atoms and within Atoms between micro-particles?
Either we suppose that explosions continued till Molecules got separated from Molecules, Atoms got separated from Atoms and micro-particles got separated from micro-particles.
Or we suppose that initially micro-particles were formed having space all around and then these were compressed into a Singularity then released or scattered all around.
Again one Big Bang does not explain multiple centres of Orbital motions and multiple Orbits in Cosmos.
The arms of Galaxies suggest to me that initially Matter was in a form of Ocean of micro-particles and it was churned and so the spinning Galaxies came out of it.