Like anything it's a lot of factors.It was a Papal decree. Christianity had everything to do with it.
Papal degree was to convert everybody and to expand the Roman Catholic Church by force.
Sorry, that doesn't see non christians as subhuman but social Darwinism does that.