I think it's release of pent up emotion stirred into a frenzy by preachers.
I am not sure there is a proven scientific explanation for what you describe --- other than mass hysteria. OOPs, and Mass would imply Roman Catholic worship rather than Pentecostal.
I'm sort of wanting to study sociology just so I can study them. No one understands what was like growing up pentecostal.