Agreed. I have been through technical interviews where at the end, my feeling as a candidate was "I don't want to work with this asshole".
I can't fathom how making the whole process being all hostile makes any real sense!
We all want that great person to show up and really help, not just cope or put up a facade to survive.
Yet, that is exactly what happens. People that other people expect to bond with get put through the wringer....
Seems counterproductive to me.