I get the impression that historically that happens a lot. When the Europeans arrived, they asked the people they had already met who those people were over there, and then they adopted the word that was given from one outside group about another group.
It sounds like that's what happened here.