Just not true. I've been following the subjects for years, and there's been a long-term swing against him, with articles critical (particularly) Tesla and also Musk personally.
Him doing stupid things (arguably getting involved in the Thai cave situation at all, let alone calling the guy rude names) has added more fuel to the fire recently, but it was definitely a fire that was already burning strongly.
Look, high visibility people will always get lots of "unconditional" love or hate regardless of reality. But if you take away that "known" quantity what you're left with are the people that decide how to feel based on the facts, and the facts change.
A reasonable person might have liked Musk until this flurry of misplaced opinions, that were better kept for himself. After this they may have liked him less or not at all.
But have you seen many articles on the subject of how even when you approach criticizing Musk in a perfectly reasonable way supported by evidence you're all but guaranteed to get a vitriolic reaction from rabid fans, downvotes, insults, threats, get your comments deleted, etc.?
In real life (not a bubble where you only get the news that support your views) there's actually a lot less criticism for Musk than any other CEO in his position gets. Especially since both himself and Tesla have been involved in plenty of polarizing situations bordering a scandal. He's still a media darling not because he doesn't deserve criticism but because criticizing him is a PR nightmare and most publications would rather avoid it. Or at the very least they do it "softly" and let it die out quickly.
Example: If any other company (think Uber) charged you 6000E for a promise that wasn't fulfilled even years later and that even killed some people they would be nailed to the cross. Tesla is praised for the very same. Until a few months ago every Tesla website had the Autopilot description as "Fully self driving, safer than a human driver". Now, in civilized countries at least, they are forced to use more generic language like "most", "potential for", "in our opinion". How many articles tackled this? And how many tackled his Thai cave PR stunt?
Him doing stupid things (arguably getting involved in the Thai cave situation at all, let alone calling the guy rude names) has added more fuel to the fire recently, but it was definitely a fire that was already burning strongly.