“This is why we can’t have nice things” is an idiom. It connotes a more complex layer of meaning since its origin. Here’s a good definition: A phrase used to blame someone or some group for engaging in the kind of behavior that has led to something valued becoming damaged, ruined, or corrupted.
In a 21st century context, it means this:
… it voices the earnest class aspiration of a dupe who believes that "things" are "nice" (a humorously innocuous word) based on some standard class grid. Then anything that goes wrong points to the larger (comic) frustration of not being able to achieve the standard class-inflected goal. Like Ralph Kramden or Lucy in I Love Lucy.
The decontextualization of the phrase makes the writer or speaker (not the character) and the audience in cahoots against the position of class dupe.