Mustafa Akyol recounts it:
Most of these late 19th or early 20th century Muslim liberals — who are commonly known as “Islamic modernists” — looked back at the formative centuries of Islam, and discovered some liberal themes buried under the weight of stagnant traditions. First of all, they found tolerant references in the Quran — verses declaring, “there is no compulsion in religion.” Besides, they noticed that some of the troubling hadiths (sayings attributed to Prophet Muhammad) might not be authentic, and could be representing only the misogyny and the bigotry of some medieval men. They, therefore, wanted to re-read the Quran in the light of the modern age. Quite notably, this was the dominant intellectual trend in the Muslim world a century ago. Yet, again quite notably, it failed. Instead, the authoritarian ideology called “Islamism” gradually dominated the scene, to establish reactionary political parties, tyrannical regimes and even some terrorist offshoots. But why?
Why Islamic modernism failed and gave floor to radical Islamism? My short answer to that big question, which I explore more deeply in my book, is the change in political context: At the end of the first quarter of the 20th century, the Ottoman Empire fell, giving rise to more than a dozen nation-states, almost all of which were colonized by European powers. Colonization inevitably led to anti-colonization, and replaced liberalism with a reactionary collectivism. The question, “How can we be like the West?” got replaced by “How can we resist the West?”