This explains it
Genesis 11:1-9
Now the whole earth had one language and the same words.
zthe land of Shinar and settled there.
aand bitumen for mortar.
bwith its top in the heavens, and let us make a name for ourselves, lest we be dispersed over the face of the whole earth.”
cthe Lord came down to see the city and the tower, which the children of man had built.
dlet us go down and there confuse their language, so that they may not understand one another’s speech.”
ethe Lord dispersed them from there over the face of all the earth, and they left off building the city. Babel, because there the Lord confused the language of all the earth. And from there the Lord dispersed them over the face of all the earth.