I think maybe the problem being alluded to is that a lot of interviewers aren't that good at this and instead give off vibes that play up the "I'm judging you from a default presumption that I'm more competent than you" angle.
(Really, it shouldn't be surprising that most technical interviewers aren't that competent, since they usually aren't selected for it.)
Oh god. I’ve met some seriously incompetent people when interviewing - to the point where I’m glad they are the one conducting the interview cause I never want to work with them. I’ve actually finished an interview where I was the candidate with “thank you, but I don’t think this is going to work out”.
To be clear, my point is more that lots of people who are competent at their core jobs and would be perfectly fine coworkers suck at interviewing (but are pressed into service doing it anyway).
(Really, it shouldn't be surprising that most technical interviewers aren't that competent, since they usually aren't selected for it.)