Scientists say that the earth and universe were created by the Big Bang. This was explained by scientist Edwin Hubble who said that 14 billion years ago the universe was born from a single point in space that exploded, hence the name “Big Bang”. I still would like to know where this little grape sized point in space came from but even scientists don’t know.
Over billions of years, galaxies and planets were formed. Space continues and will always continue to expand because there is no end to space.
Wikipedia.org “How was outer space formed” https://en.wikipedia.org/wiki/Outer_space