What is set out below is fascinating. It goes back a very long way in history. It is another view worth looking at, in the light of the many explanations offered by other religions, and by modern cosmologists.
I offer this as one who wants to understand, not pretending that I, or others, will ever know how it all came about. Since I am a Hindu only in this life, and feeling that I have been a Jew and a Muslim (and whatever else) in earlier lives, I do not seek to proselytise. As Sgt. Schultz said (in ‘Hogan’s Heroes’), I know nothing!
Summary of creation hymn from RigVeda
nasadiya sukta – Rig Veda 10:129
Then there was neither existence nor non-existence.
There was no space(air?) nor sky beyond.
What covered everything? Where? In whose protection?
Was there water, deep and bottomless?
There was neither death nor immortality then,
There was no sign of night or day.
That One breathed all by self without any outside support,
Other than that there was nothing else beyond.
There was darkness all wrapped around by darkness,
and all was water then.
The life force which was covered with void arose through
the power of heat(Tapas).
Then arose desire (Love?) which was the primal seed of mind,
Seers searching for knowledge in their heart
found existence in non-existence.
A ray of light energy cut across the dark and gloomy abyss.
Was it beneath? Was it above? who can answer this?
There were bearers of seed and mighty forces,
Pushed from below and forward move above.
Who really knows? Who can confidently declare it?
From which was it born? Who gave raise to this creation?
Even the Gods came subsequent to creation,
Then who can reveal from whence it arose?
That out of which creation arose,
whether it formed by itself or it did not,
He who oversees it from the highest heaven,
only he knows or maybe He does not.
(The above was copied from the internet.)