Terrorism is a political tool not just a word that means violence in public. The IRA uses violence to try and get a United ireland. Basque separatists use it for an independent Basque, ISIS to establish a worldwide caliphate.
Some bloke going mental and stabbing/shooting people isn’t terrorism...