Because lots of people wouldn't be able to pronounce the country's name and, for recently settled countries they were renamed to stake a claim, by the time they realized this was a bad thing to do it was too late and everybody already knew that country by its western name.
E.g. New Zealand's Maori name is Aotearoa.
E.g. New Zealand's Maori name is Aotearoa.