The terror is the point. The terror, the horror, the butchery. The methods of Hamas and others are intended to leave a mark on the psyche.
They must realize their ruthlessness will instill fear but also will not end the barbarism. Their behavior engenders payback, long memories for revenge. This seeming intractability is what frustrates the rest of the world.
Religious quarrels are the worst. At a bare minimum, they give God a black eye.