Historically used to describe severe physical punishment, it has a strong connotation of brutality. In the old days, thieves were sometimes flogged in the public square.
Pro Tip 2/2
Animals Too
'Flog' can also refer to beating an animal, often considered cruel and frowned upon. The man was fined for flogging his overburdened mule.