I wouldn't characterize it as a kind of sadism on the part of the writers. It felt to more like they were trying to be darkly humorous. To me it felt pretty arbitrary, like the show has contempt for its own characters (like a watered-down Clockwork Orange, where everyone is just lousy).