How was ethnocentrism formed?

Can you answer this question?