Certain religions reject science because true science goes where the evidence takes you and faith, by definition, is not evidence based. Fundamentalists are trapped because they use absolutist theology from a book that’s not historical or scientific and contradicts itself.
religion and science answer different questions. Science folks, rightly so, get bent out of shape when religious folks interject their non science “facts” into the discussion, like floods and creationism. “Well that can’t be true because of genesis”. If science gets in the way of religious folks then that’s a problem for the religious to solve.