There's a recent freakonomics episode that talks about this question (13:18) https://freakonomics.com/podcast/can-you-learn-to-love-hard-...
The host Stephen Dubner sites a piece in psychology today that argues physical activity is strongly connected with cognitive function. https://www.psychologytoday.com/us/blog/the-athletes-way/201...