They weren’t. Theology was the primary (pseudo)scientific approach used to explain the law of nature at the time.
It couldn’t have developed the way it did without theology and the Catholic church..