Yes, I too had this question. Heh.
The conservative reactionary crowd has painted Discovery's PR as a political statement to piss people off, yes, but I don't believe for a minute that that's CBS's goal. There's a far simpler and more sensible explanation for why, for example, CBS highlighted the casting of Star Trek's first black female lead: because, like any production ever, the artists and producers want to get people excited for what makes their product unique. The idea that it's been done to piss people off is cynical, yes, but it isn't cynical on CBS's part. That's just promotion. You celebrate your star. You shine a spotlight on them. And if you're a Star Trek show, you absolutely advertise diversity because that's the core message of the brand that transcends its genre, that grabs people who don't care about sci-fi: this is a show about people, all kinds of people, doing amazing things.
Does it generate attention? Yes. But the tactics here are reliable, old tactics. There's nothing especially distinct about how Discovery marketed itself versus how, say, Deep Space 9 or Voyager marketed themselves. It's the climate that's changed, not the marketing.