Why feedback happens
Feedback is a loop. A microphone hears the speaker, the speaker plays the microphone, and the sound goes around and around, getting louder each time until it rings. It happens at the frequencies where the room and the system reinforce each other most.
It gets worse when the microphone is far from the mouth (so it has to be turned up), when a speaker points back at the microphone, when the room is hard and reflective, and when someone walks in front of the main speakers with a wireless mic.
Older systems often have very little room between “loud enough” and “feeding back.” Volunteers learn to keep it quiet, and then the back pews cannot hear.