I might be misremembering the sequence of events, but I thought he called him names because the said hero publicly told Elon to shove the microsubmarine he was trying to build into his ass. Which kinda changes the picture entirely, at least for me.
Not really when the "microsubmarine" solution was never going to work and every minute was vital to get the kids out alive. So more of a "piss off and let people who actually know what they're doing focus on the job"
And regardless of that, it is still a massive asshole move to call someone a pedophile because they told you to shut up. Those two insults couldn't be more different in severity and social implications.