I think it’s simpler, at least for some politicians.
You have to do something. If any other terror attacks happen and you didn’t do something, then “why didn’t you do something?” So you do something.