As much as I'd like to blame Musk's tantrums on his obvious lack of technical chops, I think it's far more likely that they're due to a combination of his piss-poor emotional intelligence and realizing that he was wrong about so many of his pre-purchase criticisms.
Now that he can actually tell that right-wing provocateurs were actually being algorithmically boosted and not suppressed, that there was no concerted "censorship" efforts (moderation is not censorship), and that the people he's been championing are full-on toxic to Twitter's viability and any chance at monetization, he'd rather burn Twitter (the service, it's most devoted users, and it's employees) down than admit he's wrong.
The problem is that eagerness to do a lot of work combined with incompetence & arrogance is by far the worst combination for a CEO, and I think Elon is exhibiting it with Twitter.
My wife's tinfoil-hat theory is that, after reading about the amphetamine problem at FTX, that many of the Effective Altruism cultists (Elon included) are hooked on speed and making some really horrible decisions.
That's for sure, but I don't remember many instances of tech debt or bad architectural decisions which had been solved by just shutting things down.
Nor is Twitter’s infrastructure a black box, as there’ve been plenty of talks, blog posts, and other material that explains substantial portions of the fundamental architecture. We know why they adopted GraphQL as the client interface, we know why they’ve used Strato, Thrift, etc.
In fact I’d go so far as to say that the average mildly interested developer who’s been reading Twitter’s developer blogs has a much better idea how how Twitter actually works under the hood than its new CEO demanding they get rid of 80% of services.
None of this means Twitter’s architecture is above criticism of course. There’s undoubtedly legacy stuff and tech debt there. But it’s unsightly and unfair for Musk to be publicly denigrating the engineers of the company he now owns, purely because he can’t understand how things work.