It was mocking (not just mocking, but actually calling them cowards) Republican politicians for expressing condolences to the victims of a mass killing. Yes, it's somewhat trite to say that your thoughts and prayers go out to the victims, but it also happens to be a nice thing to do. It's also trite to say "How are you doing?" upon meeting a friend, or "Good bye" upon leaving. What's really trite, and offensively so, is to point out the obvious fact that such conventions of social grace don't actually help anybody.
Also, if we're going to call anybody cowards, I think the epithet more appropriately describes those who want to rush through legislation to take advantage of a temporary emotional reaction. I think it is rather brave to
stand athwart that natural human impulse and yell "Stop!"