Public shaming

Public shaming is when someone is out of favor for their actions or words. It has been used as a punishment in some countries long ago.
Online shaming.
Public shaming has been seen online due to a super-minority of groups willing to "cancel" people.