what are the factors that causes diversity in language?

Culture is a big part as well environment hope it helps