Given this and previous behaviour it seems pretty reasonable to assume that Musk was doing it for the lolz and to get attention as "the savior of free speech".
It's useful to note that after he signed the contract the market decided he wasn't serious about it. That's the closest we have to an objective judgement on Musk's intentions.