If the israelis weren't indiscriminate it would obviously make their actions in this case even worse, i.e. they somehow were looking at those kids being close to the explosives and still initiated the detonation sequence to draw their attention and hurt them.
That's the position you'd take if you wanted to smear the israelis.
It being indiscriminate would be the lesser evil out of these two options and it is unclear to me why you would prefer this interpretation of the events.
My view is based on the technicalities as I found them reported in mass media and directly from individuals in Lebanon at the time, which gave me the impression that the israelis went ahead and detonated the gadgets at the time they did because they suspected that Hezbollah was onto them, and that they had basically no idea where exactly these devices were at the time. To me this explains why they were detonated at the same time and not 'surgically', as state terrorists like to put it.
I can sympathise with the impulse to believe that the IDF is almost omniscient and able to organise a simultaneous attack against thousands of people individually, they sure want to promote such an image of themselves and put a lot of effort into doing so. But I don't believe it, in part because they have shown themselves to be quite unprofessional and sloppy, as well as lacking in strategic sophistication. Basically, I don't think they have enough disciplined personnel to pull something like that off, and instead they just broadcast a detonation signal to all the devices based on the suspicion that their operation might be revealed and countered.
It is an obvious war crime on this alone, and even more so when one considers that the israeli decision makers know that Hezbollah is a group of mainly civilian organisations and still went through with this project.
You don't have to imagine, powerful israelis have claimed that they absolutely have prepared such consumer products in the same way in "all sorts of countries".