I wore a hat on my daily run to keep the sun out of my face. About midway through, my head was getting hot so I took the hat off. After taking my hat off, my body was much better at dissipating heat though my head.
If Rupp had ditched his hat and not gotten replacements, he would have been able to dissipate heat better and he would have gotten silver.