If person A came from a privileged background, and got straight As, and person B came from a much less privileged background, and had to overcome many hurdles just to get into school, and continued to fight to stay in school, and got Bs, which person would you want on your team?
I'm not saying that's definitely the case here, just that grades alone don't tell the whole story.