Israel did not tell the US not to invade Afghanistan after 9/11. Or tell the US when to stop chasing terrorists and when to stop bombing – did they?
So neither the US, nor any other country, has the sayso to tell Israel when and how to protect its citizens.