For any student who meets the qualifications, it is essentially random. There is a process that seeks to find the best students but it is flawed in the same way the job interview process is. Plenty of exceptional applicants get rejected and more than a few accepted students don’t succeed at the level one would expect.