>>518924079
The reason explicitly given in the story in the Bible is that God (technically gods in that part of the story, the Jews hadn't decided they were monotheistic yet) is that they think the humans are getting too close to being godlike and they destroy the tower to keep humanity down. That's written in. The humans aren't doing anything wrong and the story doesn't imply they are, just that they're succeeding to a degree that makes god(s) uncomfortable.