Mental health issues such as depression can be triggered when someone is suffering from severe health problems, particularly if they have an impact on the person's ability to carry out everyday activities, or if they affect the person's life expectancy.