The way I see it both Muslims and Christians had staunch rationalistic movements which favored reason over revelation and in case of Christianity, they rejected revelation outright later these kind of people created secularism while rationalism ended with the death of mu'tazilism in Islam.