Here’s my humble understanding and interpretation:
1. Who is God & Moses speaking to in Genesis? Mostly illiterate folk with a strong use of oral tradition. A people who had heard all of the other contemporary Creation mythologies told by the cultures and peoples that surrounded them. A people that had no concept of great periods of time - they mostly lived “seasonally.”
2. So perhaps God says to Himself, “How do I get the point across that I am self and eternally existant and that I have created everything?” He tells them in a story and timeline makes the true point and that they can wrap their minds around.
3. And the true point of Genesis is after all, that God has created everything.
Precisely so!