Tribalism, scientifically aka ingrouping/outgrouping behavior, through many studies, has been shown to be linked with low EQ, rather than low IQ.
The typical setup has participants run through both EQ and IQ tests beforehand. Then they compare the results of those in the experiment who had the most outgrouping behavior and those with the least outgrouping behavior and most of those studies showed the same results, where those who scored the highest on EQ were the least likely to exhibit outgrouping behavior. IQ was found to be inconsequential in most cases.