Differences between British and American English | British Council Foundation Indonesia

The language may be similar, but there are some differences between British and American English in both the written and spoken forms. Why did the language diverge into two?