I think it is a colonial hangover.
It's the same in former British colonies in the Caribbean. We're thought "Proper English" in school and the American spellings are considered wrong. Local dialects are frowned upon in professional settings and writing.