The scrotum may move the testes closer to the abdomen when in danger. Testes are extremely sensitive, and hitting or injuring them causes extreme pain. Males avoid this by involunatirly moving the testes closer. 