Ecclesiophobia is the fear of churches, a branch of agoraphobia
There are two primary causes of fear: fear of a deity or deities, or because of the unique architectural style of churches.
There are many things in the church that can be disturbing, such as images of sufferings that trigger fears of blood and death.