There's a big reproducibility crisis in science as a result of this "you pat my back, I'll pat your back" mentality. Peer review is not immune to groupthink.
Even worse than that, there's straight up research fraud from labs at big universities. Fraud that slips through peer review and then the journals and reviewers get out the pitchforks when it's pointed out.
Peer review is not about judging a person / scientists charter, political opinions, or anything about them as a person.
Well at least that is not what is SUPPOSE to do.
Peer review is about reviewing the science, not the charter of the scientists.
science has a real problem today because it is becoming less about the raw science and more about who is doing the science and if they have the "correct" political or other opinions