They were widely distributed and there was no way for the israelis to know where they were when they detonated them, which they likely did out of desperation and not because they had good reason to believe they were in such and such a position.
It is fucking grim to incessantly defend state terrorism.
You don't seem to have an inch of a problem with terrorist, islamist militants that not only terrorise Israel, they also terrorise Lebanon. Ask the Arab League. Even they define them as terrorists.
Something here is grim indeed and it is not restricted to some regretable educational deficiencies.