Sweat management, keeping the sun off one's head in the hot sun. The latter is optional for younger guys, but if they wear their hair very short or shave their head, or of they're bald, it's pretty much necessary (bandana, skull cap, something). Maybe because guys tend to get thinning hair in their 40s and 50s is why the OP notices this more with them.
__________________
I stop for people / whose right of way I honor / but not for no one.

Originally Posted by
bragi
"However, it's never a good idea to overgeneralize."