That crossed my mind as well, Gary. It would make sense to me that any activity, not just flying, affects the brain and helps it to grow in such regard. It is evident that each person is an individual and has different skills and abilities that help him/her in different activities and that can be further developed to become an even better pilot, for example. So, people who are skilled in multitasking and try flying will become good pilots, while people who are terrible at it will either give up flying or end up in a smoking hole in the cornfield. This is also called natural selection, lol.
Something that hasn’t been mentioned is: are there any other traits that would make one want to become a pilot that are linked with that “predisposition” for multitasking?