Getting hired is hard. Between the qualifications, experience, leetcode nonsense, low barrier to entry, and the sheer number of unemployed floating around, its hard to stand out (in a good way.)
Both sides hate the system. Good people go unnoticed. Bad people end up wasting time and resources.
I'm not sure 'randomness' is the answer (especially if you're the best person for the job but you are beaten out by random-bad-luck.)
That said there's already a lot of randomness in the system. We often have a post that could easily be filled by 3 or 4 candidates. But we only need 1. At that point there's some psuedo-randomness involved - a decision has to be made and a bunch of perfectly capable people will be disappointed.