In my country, it is common culture for HR to be insulting. They will ask illegal questions. They will make you jump through hoops, not to prove your skill, but to prove you really want the job.
The reason is because they get hundreds, if not thousands of applications, but the majority of those applications are seriously unqualified. However, this makes them arrogant. They claim this arrogance as a way to filter out resume spammers.
I know the company itself is quite good. And I know the HR are actually nice people. They were somehow trained to be arrogant, simply because "bigger companies are like that."
One of my pet peeves are interviews that ask completely irrelevant questions like "If you were an animal, what kind of animal would you be?" and an hour long exam with pointless questions like "Translate this long binary number into decimal."
I'm fully qualified for the job, and it's simply a screening interview to see that I'm not crazy. But dumb and illegal questions tend to trigger me into looking mean and crazy.