The reason these shooting happen is because of social exclusion. When a kid is socially excluded from conversation and ignored by everyone, they usually freak out easily. The shooter in this case was probably socially excluded and just found out that he was rejected from an internship or a job and freaked out and went on a shooting rampage.
When I transferred highschools in the middle of junior year, I experienced social seclusion, and it was the worst thing I have ever experienced. The littlest things made me so pissed off and angry. When you are socially excluded, you are just like a ticking time bomb. So there needs to be something done about this. Gun control laws will not do anything except intice the troubled kid to try harder to get a gun or use another form of violence.