What I find very dysfunctional is that rarely anything ever happens to the ones doing the shaming.
They are most toxic to an organisation's culture in the long run.
It is a failure of management that people fuelling the outrage cycles via public shaming, virtue signalling and grandstanding feel empowered to exercise mob justice.