A matter of contracts and ownership - just a rather messy one. Religious politics were strictly between the congregation and the Episcopal diocese.
God was not involved - many decades ago the courts here ruled that "God has no property rights in the State of California".