Totally agree with everybody, but as a last point: wasn't there a killer who killed his wife and his wife's mother before committing a shooting at his university - I think from the roof - who, after being killed by police, was found to have a massive tumour pressing on the part of the brain associated with aggression? Sorry to be so sketchy on the details.
But, one last thing that I find a little disturbing about your post with regards to this subject matter, is the way you seem to be looking for a "tick box" answer - yes, THIS is why my character does this. The human brain is still such a mystery that it will be very difficult, in terms of portrayal, to suggest that this is "the answer."
Sure, some medications have been found to trigger/increase psychotic episodes (and I'd imagine you'd have to use a fictional substitute if you didn't want to be sued within an inch of your life), and some serious mental illnesses do cause psychotic episodes, but I'd be surprised if a psychotic episode would leave someone with the logical faculties to "plot" a massacre, and there's been a lot of (justified) discussion about the stigma that brands all mentally ill people as axe-waving crazies. However, I'd be very interested in a YA novel, in the vein of SIDE EFFECTS (at least without the descent into B-movie insanity in the last half), that debated "was it crazy love/mental illness/medication that made her do it?" But I don't know if you understand that, if you introduce an element like this into the story, it's a question, not an answer.