Generating headlines was probably one of the reasons for doing it (successfully so, apparently), but it wasn't likely to be the only one. And you say that as if generating headlines is some kind of undesirable thing and not exactly what a new show should want for promotional purposes.
I would imagine that another reason for saying "This is so fucking cool!" is to establish that this is a show on a streaming network with loosened boundaries rather than a conventional TV network.
Discovery was a big part of establishing the new CBS All Access brand and showing that the network was planning on showing more adult-oriented fare (at least, content-wise, if not always story-wise) like shows on basic cable channels like AMC and so forth.
Also, it perfectly encapsulates Tilly's personality and boundless enthusiasm, and is probably what an actual adult would say when given the chance to do something fun and amazing.
To call it childish because they did it once (and that certainly was not the only time they cursed) but give
Picard a pass because they did it multiple times is silly and arbitrary. It's a perfectly normal, adult thing to say, and the timing was well-done and hilarious.
Besides, it's hardly as if Trek is new to uttering profanities of varying degrees (based on the social mores of the day); it's done that since day one. So is it a headline grabbing oddity or simply following on Trek tradition?
https://www.reddit.com/r/DaystromIn...rsing_has_always_been_a_part_of_star_trek_an/