It shouldn't be a surprise to find that people who do these types of shootings are taking drugs for their issues. The drugs aren't causing the issues, they're taking the drugs because of their issues. It can take time to find the correct drug or even the proper dosage of the correct drug. And, for more serious issues, a long time in therapy.