We may not always agree with them, but protagonists are free to have their point of view. Unlike what readers might think, writers aren't playing God when writing a story but merely the co-author of every book. The protagonists run the show.
Granted, if you're reading about Jorge Hernandez in my Hernandez series, those points of view can get disturbing, can be sexist, and come from a very sharp tongue. This isn't a man who's hoping to be politically correct and he doesn't care about your feelings. It's his story to tell as he wishes. You're merely the reader who's coming along for the ride. Some people stay for the whole thing, while others get out of the car on chapter one. It just depends on the kind of adventure you want.
You have to remember that every protagonist comes with a vast array of experiences. Their past often predicts how they view the world, what they're most aware of, and how they react to any given situation. A former cartel boss will respond differently than a rural housewife or a suburban teenager. The things they notice and their instincts will vary, as do confidence levels in any given circumstance. There are so many factors that play a role, and it's also why a room filled with characters will react differently to the same event.
The protagonist and characters, in general, shouldn't be censored. There's enough censorship in this world without forcing our characters to also hold back on how they really feel.