Mostl likley the cleric sahib suffered an “earthquake” in the pants after looking the “women who dress inappropriately”.
We in Pakistan ignore such “inkashafat” and say our prayers and leave the mosque.
the only problem is when a cleric (or cleric look-alike) encourages death and destruction of innocent people.
And our cleric sahib know, not to antagonize the regulars in the mosque. Because we pay his salary and we interviewed him on all sorts of different topics before hiring him.