The fact that Brazil speaks Portuguese while the rest of Hispanic America speaks Spanish is....
a mystery
the result of indigenous groups in the Amazon
the result of an arbitrary decision made by Portugal, Spain and the Pope
the result of the race for American land between Portugal and Spain