This isn't about moderation, or removing tweets or banning people. Twitter changed the content of The President's tweet. When they edited his content, they became a publisher. Had simply removed it, I think they'd still be ok, but when they changed the content, they risked losing their protections under Section 230.