The worst examples are, of course, in Marvel and Disney movies of recent years, where characters constantly quip about the things that are happening around them in ways that feel completely unnatural for a person living in that world, and instead is just a wink wink nudge nudge to the audience. I utterly abhor it.
Here's a great example of how horrendous it is, and how it completely destroys the atmosphere of the scene:
You have a chase scene with a shootout, the protagonists driving away while stormtroopers chase them. Laser bullets fly everywhere, it's a scene of high tension and danger. Then some stormtroopers launch into the air with jetpacks to attack the heroes from above. Escalation! Rising danger! Excitement!
Since you mentioned Star Wars, here's a scene that it's the complete opposite of that one:
Here we can see how General Grievous, a Sith general corners a whole group of jedi masters. He warns them that he's coming, creating a sense of psychological pressure that makes one of the jedi lose it and charge to attack the invisible menace, the Sith jumps on him mercilessly and then jumps to attack the group. One by one the jedi fall murdered in cold blood by the Sith, he doesn't even react, only their allies do. There's no quip and no comments trying to take weight of the situation, and why should it? Is not a fun situation, is dreadful, people are being killing by a thing that resembles a human centipede with razor blades for weapons. Is fascinating, but also terrifying.
All of this in an animated show that was deemed to be "familiar", apt for most ages. Meanwhile today things that are deemed for "adults" are one hundred time more infantilized. Every serious situation needs to be broken away with a quip, lest someone feels uncomfortable.
This series was released in 2003, Baldur's Gate 1 in 1998. Things like Bloodlines and Deus Ex in 2004 and 2000 respectively. I think there was a general trend for people to take seriously what they were doing, and overall had a positive result on the output of their work.