Science is not just about "sciences." Science is a method applied to a domain.

Neither the method nor the domain are are infinite in extent.

Karl Popper wrote a book called "Objective Knowledge" in which he outlined his solution to the problem of induction and simultaneously solved "the demarcation problem." That is, how do you distinguish what is a scientific theory from what is not?

A scientific theory must generate hypotheses which, if tested, could disprove the theory as a general principle, IF INDEED IT IS FALSE.

The domain of science is the natural world - nothing more or less. Science doesn't deny gods or spirits. It simply doesn't acknowledge them. If they exist, they are outside the purview of science. There's no logical reason to conclude "god did it" rather than "we just don't understand."