This is going to be an interesting discussion. I think it comes down to what comes first, the chicken or the egg?
When there is a malfunction in gland secretion of hormones, it can result in Anxiety, Panic attacks, and/or depression. Our emotions and thoughts of anxiety, panic, and/or depression affect the secretions of hormones.