Perhaps a bit macabre subject for a Sunday, but as it exists still today, it is perhaps of interest to think about it as a form of capital punishment...
I came to it, while remembering an event in the BBC "The world at War" episodes, I think it was in Lithuania, where civil population put Jews to death with iron rods, while even the German commanders of the army at place were astonished to see such atrocities. I didn't find it back in the BBC files, but could this be an example of the many?:
https://www.pbs.org/newshour/extra/app/uploads/2014/03/Collaborators-Kovno.pdfI came for the first time in contact with the term "lapidation", when the new president of Pakistan started with the Sharia legislation
https://en.wikipedia.org/wiki/Muhammad_Zia-ul-Haq"
In one of his first and most controversial measures to Islamize Pakistani society was the replacement of parts of the Pakistan Penal Code (PPC) with the 1979 "Hudood Ordinance."[103] (Hudood meaning limits or restrictions, as in limits of acceptable behaviour in Islamic law.) The Ordinance added new criminal offences of adultery and fornication to Pakistani law, and new punishments of whipping, amputation, and stoning to death.[104]Yes that stoning to death seems to have a long tradition especially in the Abrahamic religions.
The wiki seems pretty good to learn about "stoning to death"
https://en.wikipedia.org/wiki/StoningWhat intrigues me, if this collective punishment backed by law by the establishment is not to give in to the own people's crowds to channel the people's wrath for a so called "justice"? As the witch processes of the Middle-Ages, burning at the stake. These witch processes even happening till recently the same as the "lapidation" in Muslim countries...
Some approach from Psycholgy Today
https://www.psychologytoday.com/intl/blog/stop-the-cycle/201402/death-stoning-why-is-sickening-punishment-legalBut Kathryn gives in my opinion no psychological answer either...?