I believe research shows it is a combination of both a chemical imbalance in the brain (which is often related to genetics) and environmental factors such as abuse, the presence or lack thereof of a strong support system, poverty, or other illnesses.