I didn’t mean literally hostile. More like, “if this candidate would rather get into an argument or simply not complete the challenge we’ve presented them with, then they’re not going to be a good employee.”
Companies want to hire people that do things, not question everything, regardless of whether those things ought to be questioned. You’re being hired to achieve business objectives, full stop.