In the beginning when God created the heavens and the earth, the earth was a formless void and darkness covered the face of the deep, while a wind from God swept over the face of the waters. In this story God doesn't use dirt to create. Everything comes out of nothing and is brought into being as a result of God's word. God speaks and things happen. In this story God seems more distant, acting on the world, but set apart from it.
Creation takes seven days and man and woman are created last.
They are nameless and generic. In the other story God is down and dirty. There is that wonderful verse in chapter three after Adam and Eve have eaten the forbidden fruit and they have made clothes of fig leaves. In the second story God is portrayed is intimately involved, in the first story God is too powerful to be that close. The gospel writer of John depends upon each of the stories to weave his story of Jesus.