I spoke to my manager about our pay gap a while ago and he said that I showed much more initiative during the interview process than my coworker did. I have more polished side projects than he has, scored better on the entrance test, etc.
He told me that I was worth the extra money but if I hadn't asked for it, he wouldn't have given it to me extra money.