The are allowed to censor in good faith. That generally means that they need to follow their own guidelines, which does not appear to have happened in this case.
"Good faith" can mean anything at all. And you should be thankful Section 230 exists. If everyone and his dog could sue a company for libelous content posted by a user, you know what would happen? More moderation, real name requirements, and "censorship".