Having certain genetic conditions raises the risk of getting adrenal cancer. Genetic conditions are caused by defective genes passed on from parent to child.