I always see that as a story about the beginnings of our galaxy, or the beginnings of our particular universe. Keep in mind that gods don't exist, and we are talking about the writing of humans. We are talking about writers who did not know about galaxies, suns, planets and so on. So they were writing about the ground, the water, the sky. The people were writing about the beginning of the earth, the dirt, the rock etc. They probably weren't as philosophical as we are now.