According to Seligman's learned helplessness theory, depression occurs when a person learns that their attempts to escape negative situations make no difference. As a consequence they become passive and will endure aversive stimuli or environments even when escape is possible