Agoraphobia is believed to be due to a combination of genetic and environmental factors. The condition often runs in families, and stressful or traumatic events such as the death of a parent or being attacked may be a trigger. In the DSM-5 agoraphobia is classified as a phobia along with specific phobias and social phobia. Other conditions that can produce similar symptoms include separation anxiety, post-traumatic stress disorder, and major depressive disorder. Those affected are at higher risk of depression and substance use disorder.