Moses is supposed (or surmised) to be the author of Genesis.
The Universe, or Heavens, was thought to be - around the time Genesis was written - a dome with lights: the stars (hosts of Heaven), stuck on it. It was also thought - by some - that the dome could be reached with a ladder and that it had doors in it.
(NB: I know some will argue that Jacob's Ladder and access doorways/stairways to Heaven etc to be metaphorical. To them I say - then the whole Bible is a metaphor. You cannot pick and choose which bits of the Bible are to be taken literally and which aren't. It 's all or nothing - you cannot have it both ways - sorry!)
In Genesis - where it says,' God created the Heavens and the Earth,' It is this dome that they are talking about - not the Universe as we know it today.
They also thought that the Earth was located at the center of this Universe and that the entire Cosmos - as it was then understood - was created, for us, by God. We now know this World view to be preposterous yet - for centuries - anyone that argued with this view of things would be burnt alive , by the Church, as a heretic.
The Church is now, of course, trying to incorporate the findings of modern, empirical science into its doctrinal teachings. This is being blatantly dishonest.
Genesis is supposed to represent the 'Word of God'. To attempt to edit - or reinterpret - it now shows that it was never true in the first place and that, futhermore, those trying to 're-invent God' are doing so to preserve the power of the Church along with their own wealth and influence.
To put it bluntly, anyone that thinks that they can edit Genesis - or any part of the Bible (change Holy Writ as they see Fit) - cannot truly believe in God.
But then this has already been demonstrated - hasn't it.