It’s merely cultural. In Canada, some people use grey, some gray, even though they all use honour instead of honor and colour instead of color. In Europe, you’ll be hard pressed to find someone who spells it the American way.
From what I understand of it, Americans in their rebel days decided that they wanted to set themselves apart from Britain, and started spelling things differently to achieve that, which is why we have the spelling differences we have today.