Attacks like the last week's school shooting in Turkey can seem to come out of nowhere, but they rarely do. Instead, a buildup of grievance and fixation often precedes the the moment violent thoughts become violent acts.