Not so much mental as cultural. Swimming pools and sun bathing are for Whites, swimming for exercise is boring and non-social.
While some might say that track is non-social and boring too, track does not require that a Black person learn a skill in which they are out of their cultural comfort zone.
I agree with you. It is cultural. Culture is all mental.