Gensesis was written by man.
How astute of you to notice.
However, the writing hand was divinely guided. Hence the idea that it is Gods Word.
Same as today, a preacher will give a sermon that God has laid on his heart. But I guess to you, that is just a man talking.