That’s just what happened to Islam. They came to a point where they had 2 paths from which to choose; the path where everything that happens is allah’s will, or the path of REASON/LOGIC. Guess which one they chose.