The factors are emotional and mental states.
Even though external factors such as environment would greatly affect our psychological health, internal factors such as emotional and mental states play a more crucial roles in determining our psychological health.
For example, even if you're born in a wealthy family, if your need for emotional affection is not fulfilled, you're most likely to be psychologically unhealthy.