It is never just the skills
there is always some subjective factor(s) in place, your looks (who can convincingly argue with this?), the bond with your future boss, and I am afraid sometime, even if subconsciously, but it might make a difference if you are a girl or a boy.