Horrifying as they were, the events of 7 October were the latest twist in a violent cycle triggered in the distant past