Well, I was just going to chalk it up to what was acceptable in family entertainment in the 60s vs today.
That's part of it, of course. But whenever you're writing a story that's part of a long-running franchise and your work is set in a time period covered by the same work in a different era, modern wiring sensibilities mean that you're going to but making a commentary and deconstruction of that original work by the very act of writing, even if you're not going for full on deconstruction like, Galaxy Quest or the USS Callister episode in the new series of Black Mirror do for Trek, or say Watchmen did for superheroes.
Sometimes that's going to be implicit - Captain Georgious and Admiral Cornwall's very appearances in the show are a commentary and refutation of Turnabout, Intruder for example - even if the writers didn't intend it. And sometimes it's going to be more explicit like pulling Mudd's charm back (and let's be honest, he's still charismatic here) to put the horrible acts he hid behind a smile in TOS into context.
And of course, while TOS was very progressive for its time in many ways, it was still deeply misogynistic in others. We can't celebrate the first and ignore the second.