Why am I encouraged to keep my xenophobia in the closet but not my sехuality? Isn't repressing either one equally healthy?

Why am I encouraged to keep my xenophobia in the closet but not my sехuality? Isn't repressing either one equally healthy?
Post Opinion