These are some of the results of a thousand years of inbreeding.
About 40% of Muslim marriages are first or second cousins. But that practice is far older than Islam.
The real effect of such closely bred tribes is the insular feeling of us versus them. Their endemic distrust of outsiders.
That is what fuels their cultural, rather than religious hatred of outsiders.