Elon Musk was the co founder of PayPal and tesla before he did anything with Twitter
For the last couple decades he's been adored by democrats bc he is innovative and productive, and wants to advance technology (he wants to actually set up a colony on mars and doesn't just talk about it, he's trying to move most of our equipment towards electric/solar, etc. He's actually now trying to work on making tiny houses that are completely solar powered [which sounds exciting if you ask me]).
They loved him bc he was the tech guy leading us into the future.
Then sometime around early 2020, there was a massive government plot to seize control of all social media and regulate it so that people could only get information from one side. If you exposed someone these mods liked, they'd just ban you. Facebook and Twitter were the beginning of it. And even though some took longer to get on the page than others, one by one, the mainstream social media platforms fell (even youtube, even though it was the latest). It affected the election.
However, Elon Musk values freedom of speech, and he saw what was happening and so he decided to buy Twitter for $44 billion dollars. If just one mainstream media app was not regulated like the others, it would expose the entire thing as a fraud. However, since Elon is so rich, they couldn't do much about it. They'd gotten Facebook on board by threatening Zuckerberg with investigations but it wasn't working on Elon.
Because of this, they got very angry and turned on him. They said he was promoting hate speech and tried to play gotcha with him (he was still democrat here) but they often exposed themselves doing this. It got so bad that he said that democrats no longer stood for what he believed anymore.
He ended up working with Trump bc he said if kamala won, they'd have used this term to funnel illegals into all the swing states so we'd never have a Republican again. No matter what side you're on, a rigged one party domination is dangerous bc that means they can throw anyone in the primary and choose our president for us. Heck, they did it with kamala (no one voted her to win for the dems) and nearly succeeded.
And Trump, although he's a billionaire himself, valued Elon's management expertise and so he offered to work with him.
Brief summation (I hope its not too long)