From what I've read on the subject the key unifying element seems to be that those who do these deeds want to 'matter' somehow, even if that can only be in a negative way. How that ties into psychology I have no idea but if you have something to lose that balance shifts measurably, but even then there are still people that can be successfully radicalized. It's a tough problem, that's for sure.