Secondary hypoadrenalism, or ACTH deficiency hypoadrenalism, is caused by diseases of the pituitary gland, which lead to adrenal failure as a secondary effect.
Acute stress and anxiety activate molecules called corticotropins, which produce hormones that tell the body to do certain things, like release the stress hormone cortisol.