The horrifying attack in Sydney highlights two interrelated dynamics that have plagued counterterrorism efforts in all Western countries for decades.