Yes, yes, so he says.
Elon Musk purchased Twitter because he signed a contract agreeing to the purchase, after the former Twitter CEO Parag Agrawal bruised his ego.
https://twitter.com/TechEmails/status/1585805424267169792?s=20
After this, he made an attempt to discredit the platform to reneg on the deal. As the Chancery Court in Delaware was working to determine if he had a legal basis to cancel the deal, he went through with the purchase.
Would you agree we do know his reason for buying Twitter?