As someone over 50, that interviewed at several places, before giving up, and accepting that I'm retired, I can say that there seem to be a number of companies that actively seek to humiliate prospective employees.
It's entirely possible that it was not the usual experience, but I have found that modern HR philosophy seems to be "Always keep the employee/candidate on their back foot." Always make sure the corporation is Alpha Dog.
A humiliating interview is a great way to filter out candidates that won't roll over for the Alpha.