Certain drugs can affect the way the pituitary gland works and cause low testosterone. Morphine and anabolic steroids are two examples.