My personal opinion (based on experience and what I've witnessed) is this:
Mental illness is rising to due to increased exposure to many environmental factors. Too much unhealthy social media, a society that focuses on the negative, and the constant need to satisfy everyone else is not healthy for the brain. Being bullied and being treated terribly by other people makes this worse.
Of course, there are many innocent people who are born with mental illness.
I do believe that if I had a supportive family, supportive teachers, and a healthy upbringing, I would not be suffering from so many mental issues.
I'm a victim like all of you.