In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. Many races believe that it was created by some sort of God, though the Jatravartid people of Viltvodle Six firmly believe that the entire Universe was in fact sneezed out of the nose of a being called the Great Green Arkleseizure. The Jatravartids, who live in perpetual fear of the time they called The Coming of the Great White Handkerchief, are small blue creatures with more than fifty arms each, who are therefore unique in being the only race in history to have invented the aerosol deodorant before the wheel.1
In the beginning God created the heaven and the earth. And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters. And God said, Let there be light: and there was light. And God saw the light, that it was good: and God divided the light from the darkness. And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.2
Both examples may yield some insight from the application of literary criticism — but as explanations of how things came to be, they are equally misleading and uninformative. If you're seeking an explanation that correlates with reality, I suggest you look elsewhere.
1. The Hitch-Hiker's Guide to the Galaxy (original radio scripts), Douglas Adams, London 1985, Pan Books, p 90, "Fit the Fifth"
2. The Bible, Authorised King James Version, "Genesis" chapter 1, verses 1-5