Musk has hasn't just had a bad day. He's made a whole series of colossal strategic errors in stubborn defiance of conventional wisdom over the past couple years. The pedo comment is just the cherry on the tip of the iceberg. The delusional mini-sub stunt wonderfully encapsulates his whole approach to running the company. For years I've just been shaking my head as people try to rationalize his bullshit over and over, but those chickens are coming home to roost.
You seem to be referring to the erroneus and hostile narrative on the thai sub thing. Apparently Elon was in contact with the people leading the rescue and seemed to be level headed and cautious and courteus in dealing with them and approaching the situation when he offered to help, as can be seen from the tweets and what appear to be email exchanges between someone close to the rescue team and him. Of course he capitalized on the publicity but he it seems like his effort was trying to do good and did not impede the rescue efforts as far as I can tell.
The pedo thing was a stupid mistake stemming from anger that got lit up by accusations by someone criticizing what Elon probably perceived as sincere offer of help, and he says to have later apologized.