We do actually have a lot of research into factors that can cause depression, which the article mentions:
"Different genetic variations can affect whether individuals respond to certain types of stress, such as sleep deprivation, physical or emotional abuse, and lack of social contact, by becoming depressed."