Why do steroids make your penis smaller?

Anabolic steroids (the ones used when people work out), are hormones, and they do have the side effect of shrinking the testicles and penis.