Think of it like your house. You can ask people to leave if they say something you find offensive. That is not infringing on their free speech.
If the owner of a shopping mall wants to ban the word banana, they can ask anyone who says it to leave. That is also not infringing on their free speech. Thatβs because shopping malls are not owned and operated by the government.