The honest answer to this is that almost anyone can learn to fly.  As with passing a driving test, it is simply a case of learning the relevant skills, and most people can manage it.  But there is always the occasional person who simply cannot grasp it, just as a very few people cannot learn to drive a car.