Original: This phenomenon is known as the cremasteric reflex.
Simplified: This is called the cremasteric reflex.