Strategy Page looks at some of the widely held beliefs in some Islamic countries:
… in most countries where there is a dominant religion, especially a state approved one, there is usually still a fear that the previous religion (or religions) will try to make a comeback. The former faiths often involved some really old-school stuff, including magic and sometimes animal, or even human, sacrifice. It is not uncommon for there to be civil laws covering those accused to be practicing such sorcery, and severe punishments for those convicted. At the very least, the accused will be driven from any senior government jobs they might hold, and that’s what’s being done to dozens of Ahmadinejad associates.
All cultures have a certain belief in magic and what Westerners call “conspiracy theories” to explain otherwise unexplainable events. In the Islamic world, there is a lot of attention paid to sorcery and magic, and people accused of practicing such things are regularly attacked and sometimes executed. Conspiracy theories are also a popular way to explain away inconvenient facts.
For example, back in 2008 many Pakistanis believed that the then recent Islamic terrorist attack in Mumbai, India was actually the work of the Israeli Mossad or the American CIA and not the Pakistani terrorists who were killed or captured and identified. Such fantasies are a common explanation, in Moslem nations, for Islamic terrorist atrocities. Especially when women and children, and Moslems, are among the victims, other Moslems tend to accept fantastic explanations shifting the blame to infidels (non-Moslems).
[. . .]
American troops arriving in Iraq after 2003 went through a real culture shock as they encountered these cultural differences. They also discovered that the cause of this, and many other Arab problems, is the concept of “inshallah” (“If God wills it.”) This is a basic tenet of Islam, although some scholars believe the attitude was a cultural trait that preceded Islam. In any event, “inshallah” is deadly when combined with modern technology. For this reason, Arab countries either have poorly maintained infrastructure and equipment (including military stuff), or import a lot of foreigners, possessing the right attitudes, to maintain everything. That minority of Arabs who do have a realistic attitude towards maintenance and personal responsibility are considered odd, but useful.
The “inshallah” thing is made worse by a stronger belief in the supernatural, and magic in general. This often extends to technology. Thus many Iraqis believed that American troops wore sunglasses that enabled them to see through clothing, and armor vests that were actually air conditioned. When they first encounter these beliefs, U.S. troops thought the Arabs are putting them on. Then it sinks in that Arabs really believe this stuff. It’s a scary moment.