The type of learning environment, their personality, and their drive to succeed (e.g., people with no ambition ("drive") don't try to do well in school, and therefore do poorly, while people who have ambition want to get somewhere, and *try* to do well.)
Of course, this is a only generalization, and it also doesn't cover every possible aspect. ^.^