They got warned for good reason. That conversation has nothing to do with the sims, nor a headscarf added into the sims. And especially has no reason to be talked about on these forums. Sorry your friend got warned, but that sort of conversation isn't suited to public game forums.
It's a free CAS item added with good intent. That's it. It's not some grand statement, nor is it anything insidious. There's no reason to get up-in-arms over it in this way. It just paints you in a bad light, regardless of your actual feelings on the subject.
Wording that was used on the tweet was in poor taste, sure. We can agree on that. But there's no reason to go further in the conversation. None of that is applicable to Sims as a game.