Science disallows God as any part of a theory. Which causes some people to think that science is against God.
But accountancy also disallows God. In fact, accountancy is far more strict in it's prohibition against miracles than science is - if God places a million dollars in some deserving soul's bank account, the accountants will take it away unless there is some explanation. If He created a big lump of gold in the guy's living room, the scientists would let him keep it. And nobody thinks that makes accountants hostile to God. The difference, I think, is that accountants don't get to ask the interesting questions.
In either case, it isn't hostility to faith that inspires the rule, it is the way that easy answers short-circuit neccessary hard thought.