Brewer's: Clapping the Prayer Books
OR stamping the feet, in the Roman Catholic Church, on Good Friday, is designed to signify the abandonment of our Saviour by His disciples. This is done when twelve of the thirteen burning candles are put out. The noise comes from within the choir.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894