They are private companies and can choose to restrict any content they wish to restrict.
This isn’t about restricting speech only. It’s about discrimination. Is discrimination of one group of people over another OK with you?