You're claiming to know the motivations of others, but your record of accuracy is not great in this thread.
Building and delivering a sub with the intention to help, is never going to "make things worse" even if the sub isn't used.
If my colleague writes a program that ends up not fitting the application, I would never tell them to shove their code up their arse. Who would do that other than a giant douche?
Both the Diver and Musk engaged in a squabble in public, started by the diver, escalated by Musk. You're focusing too much on the contents of the insults, and deciding Musk's was not only the greater crime, but the only crime. You've pardoned the diver of any fault, and invented a squeaky-clean backstory to explain his remarks.