Ever since the destruction of Baghdad by the Mongols in 1258, the Muslim world has been in slow decline relative to the west. With Napoleon's invasion of Egypt and the creeping British annexation of Muslim India, that decline took on a malign aspect.
The human mind is not a terribly logical or consistent place.