It's quite clearly a war crime. You're putting booby trapped devices into supply chains where civilians will foreseeably get them and be injured or killed by them. This includes medical professionals and their families, who were both victims [1].
It's the equivalent of blowing up a commercial plane or bus because there's a military commander on it. Or, you know, levelling a residential apartment building [2].
If anyone else had done this we'd (correctly) be calling it a terrorist attack.
[1]: https://www.aljazeera.com/features/2025/9/17/lebanons-terrib...
[2] https://www.pbs.org/newshour/world/israel-says-it-struck-hez...