And it was planned too, there was a manifesto and a general map of the school.
EDIT: There is a huge plot twist! She is apparently Transgender.
If she shot up the school simply because they disagree with her views, then she could have a hate crime tagged with the mass murder charge.