They're the best writers.

Producers hire the best writers to write their shows.

Try not to confuse your personal viewpoint and taste with the quality of the writing, especially in TV, but also in blockbuster movies and tent-pole productions. 

He who pays piper calls the tune. 

Advertisers tell the networks what kind of shows they want in order to sell their products, and the networks buy shows and show-runners in order to meet that demand. The show-runners tell the writers what to write.

They are doing their jobs, and doing them well.

The content may be racist, sexist, pro-war, putting people down, harsh, violent and more, but the writers are doing their jobs.

Production companies hire the best writers. 

Look closely at how the style is the same from episode-to-episode. See how the icons are repeated. Note that the length of lines stays the same, as does the repeating of single-syllable words and the music of the dialogue.

That’s good writing. Writers try to fulfil the demands of those who pay them.

They are the best writers. 

If you assimilate that fact you’ll be better at interpreting what they write.