Testicular atrophy is one such issue, although many of the studies suggesting it does cause shrinkage are relatively outdated — from the 1980s. Nevertheless, the majority of it suggests that smoking weed lowers testosterone levels, either directly or through precursor hormones; or causes testicular atrophy in monkeys and dogs. A study from 2012 revives this idea, and finds some evidence in men living in the Niger delta area of Nigeria. In that study, 75 men who smoked marijuana were also likely to have shrunken testicles, infertility, and even male breasts.
Having the scrotum and testicles situated outside the abdominal cavity may provide additional advantages. The external scrotum is not affected by abdominal pressure. This may prevent the emptying of the testes before the sperm were matured sufficiently for fertilization.  Another advantage is it protects the testes from jolts and compressions associated with an active lifestyle. Animals that have stately movements – such as elephants , whales , and marsupial moles – have internal testes and no scrotum.  Unlike placental mammals, male marsupials have a scrotum that is anterior to the penis.    In some sex positions, such as doggystyle the scrotum may provide friction for the clitoris , and may subsequently serve as an impetus for sexual pleasure or orgasm in the woman. 
2) Irreversible adaptation to sperm competition . It has been suggested that the ancestor of the boreoeutherian mammals was a small mammal that required very large testes (perhaps rather like those of a hamster ) for sperm competition and thus had to place its testes outside the body.  This led to enzymes involved in spermatogenesis, spermatogenic DNA polymerase beta and recombinase activities evolving a unique temperature optimum, slightly less than core body temperature. When the boreoeutherian mammals then diversified into forms that were larger and/or did not require intense sperm competition they still produced enzymes that operated best at cooler temperatures and had to keep their testes outside the body. This position is made less parsimonious by the fact that the kangaroo , a non-boreoeutherian mammal, has external testicles. The ancestors of kangaroos might, separately from boreotherian mammals, have also been subject to heavy sperm competition and thus developed external testes, however, kangaroo external testes are suggestive of a possible adaptive function for external testes in large animals.