Religion has always been in conflict with science. The West was able to catapult modern science forward
despite religion. Some of their pioneers were in constant battle with or suffered under the Church. But the rest who followed were able to break free of the shackles of the Church because of the efforts over hundreds of years by legends like Galileo.
India is not some scientific thinking legendary place as some of my brethren would like to strut and claim. A lot of our cultural practices are based on superstitions and pseudo science. And we've also achieved hardly anything on our own. But there are also practices that have been entwined with religion (Hinduism) that are based on
basic science and probably came into being over hundreds of years of observation and practice. And for some reason, nothing in Hinduism forbids thinking scientifically. There are stupid practices that have sprouted alongside, but there was space for scientific practices if someone with brains was around and decided to use it. Also, modern Hindus like to believe that science was created and flourished in India as part of Hinduism. In fact, all of Western science was imported or stolen from India by cunning missionaries

)
Anyway the point is, this kind of ridiculous thinking has a twisted advantage because it sort of encourages, or at the very least, doesn't discourage Hindu folk from pursuing science.
Islam on the other hand seems to discourage science. I've seen threads where some practicing Muslims try to reconcile the Quran with modern scientific findings - a bit like Indian Hindus claiming flying was invented by Indians or that nuclear fission and fusion was understood and used by ancient Indians. But for the most part, all evidence from Islamic nations points to a connection between religion and a lack of interest in Science.
I read once how many early scientific contributions came from regions that are now Islamic. And how these contributions dropped and tailed off as religion in these regions became stronger.
So it would seem that what the Islamic world is going through now is similar to what the West went through under Christianity. They were able to find people willing to battle the faith and win. Maybe the same will happen in Islamic countries even though it might seem a herculean task right now.