Original: When cooling is required, the cremasteric muscle relaxes and the testicle is lowered away from the warm body and is able to cool.
Simplified: If the testicles are too warm, the cremasteric muscle relaxes (gets longer.)