One of evolution's cleverest tricks was giving us a sense of shame. It's a miserable feeling—low, humbling, publicly discomfiting—but it's supposed to be: if you do something lousy you ought to feel something lousy, so you don't do it again.
In theory, when so many of the strategies for beating the COVID-19 pandemic depend on abiding by social distancing and other rules, shaming people who don't ought to be a powerful way to bring us back in line.