It’s private property, they can set any restrictions they want. My guess is they don’t want to risk losing tax exempt status by seeming to endorse a particular political candidate.
Churches are non profit and supposedly can’t use their sites for political purposes.
Of course the law seems to only work against Republicans.
If you are a Clintoon, Obama, BLMer, you can use a church anytime without the IRS going after the church.