Why does terrorism exist?

It's a way for the weak to attack the strong.