That's one of the things, yes.
God did not dictate a literal, detailed account of how he created the universe because a group of scientists wanted to know.
Instead, Moses, or someone, wrote 2 creation accounts. He wanted people to know that it was GOD who created. At the time he wrote it down, there were several other countries around him who all believed in a different god for a different thing - a god of the rain, a god of the stars, a god of animals, crops and so on. Moses said that there is only one God who created everything.
Also, Moses was not writing for scientists; he was writing for people who, I understand, thought in picture language. They did not know, or want or need to know, about atoms, gravity, astronomy etc etc.
And if you take these accounts literally, which do you believe?
In Genesis 1 God created male and female together; in chapter 2 he created Adam from dust and, a little later, created woman from one of Adam's ribs.
In chapter 1, God created humans and said "it is very good"; in chapter 2 he created Adam and said "it is not good for him to be alone."
Genesis 2 does not tell us when God created the trees, birds, the garden etc. There are also other countries mentioned in Genesis 2.