Nor do I want to commit the fundamental attribution error, like 80% of this thread. Even though there are a few other people offering personal experiences of Amjad rubbing them the wrong way. That tends to happen in a thread of this character.
Here's my best guess: your friend had a bad day and fucked up. Then he doubled down, and now it's out in the open.
Good news is, this is salvageable. He's not getting MeTooed, he didn't embezzle money or steal code. He got paranoid and bullied a former intern.
I think a simple apology and some self reflection would go a long way here. There will always be a mob which takes that as blood in the water, and will say awful things on Twitter. But the bulk of the community, the people who matter, will notice, and accept it if it's sincere.