Awful news. Those poor people and their families.
I think that trying to empathise with attackers in these sort of situations is really important. If we can understand what motivates people to commit atrocious acts then perhaps we can find ways to intervene before they get to this point.
Empathising isn't the same as excusing.