i think it is because fantasy and sci fi creates worlds and spaces that are such blank slates that you can bring a lot more of your personal beliefs into them. now some do it in a way that isn't integral to the story, but others do it in a way that lets their prejudices show through in ugly ways