God create the world with natural laws that humanity thought they could override due to their percieved superiority. Some of humans became kings who thought they were superior beings chosen by gods to rule over man. The tower was an act of hubris. The tower failed because the king refused to accept that he wasn't a god, only a man who was at the top of a man made social structure.