I believe the answer is: Personality
Personality affects how people's see the situation that happen to them. Someone with self-esteem tend to see every problems that come to their way as an huge burden that cannot be handled. When this happen, the tendencies of that person to develop mental disorder would be increased.