Not sure what you're asking. When I was a kid in school, if unidentified students damaged something, stole test papers, wrote inappropriate words on the blackboard, etc., the entire class was punished. It was meant to be social pressure - since the innocents got the same punishment as the guilty, they'd resent the guilty parties (and classmates usually had a very good idea of who was guilty).
Similar thing going on with refusals to follow safetly guidelines.
People who wear masks improperly or not at all, who won't socially distance, who plan and attend social gatherings, and who engage in other behavior deemed risky right now, are forcing the rest of us to be "punished" with new closures or delayed reopenings.