Final answer:
The cremaster and dartos muscles are responsible for moving the testes towards the body to regulate temperature, with both muscles working together to contract and elevate the testes when it is cold.
Step-by-step explanation:
The muscles that move the testes towards the body are the cremaster and the dartos muscles. The cremaster muscles descend from the internal oblique muscle of the abdominal wall, covering each testis like a muscular net, while the dartos muscle makes up the subcutaneous muscle layer of the scrotum.
Together, by contracting, these muscles can elevate the testes, moving them closer to the body to retain heat when the environmental temperature decreases. Therefore, the correct answer to which muscles move the testes towards the body is E) both A and D.