People making these sorts of statements at work would potentially get into trouble because in some countries we have law against harassment at work and creating a hostile work environment.
This situation is more like a bunch of dudes going outside someone's house on the public sidewalk and screaming obscenities. Whether or not it's a direct threat of imminent harm or not, it seems unlikely to end well for the screamers.