It seems to me that there is in these terrorist attacks a kind of sick collectivism in which the perpetrators hold whole nations, races, or religions responsible for wrongs (real or imagined) committed in the past or present by a government or some other supposed representative of the larger group.