“In Genesis, Adam and Eve leave the garden and cities are already there and other people. Please explain.”
This is definitely something you have been told, not something you have observed for
yourself. I can say that with confidence because it’s quite wrong, and even
a quick and dirty scan-read of the first chapters of Genesis should not leave a
reader with that impression.