It goes both ways
This certainly is not a form of "defense"
[qimg]http://news.bbcimg.co.uk/media/images/67255000/jpg/_67255958_009839494-1.jpg[/qimg]
[qimg]http://i.dailymail.co.uk/i/pix/2009/01/04/article-1105127-02F27F36000005DC-677_468x286.jpg[/qimg]
[qimg]http://msc.wcdn.co.il/w/w-635/1788214-5.jpg[/qimg]
Such munitions are designed to wreak as much havoc and destruction as possible, without any regard to civilian life even after a conflict is over. Back when Israel was hit with multiple suicide bomb incidents (which also wreak havoc without regard to civilian life), such actions were rightfully condemned. Israel is accountable to the same standard.
If Israel gave a **** to distinguish militants from civilians, they would use coordinated munitions (air/artillery). Instead, during Operation Cast Lead and subsequent strikes before and after, they've used munitions like that which blatantly disregard anything in their path to maximize damage (including a UN building that was burned down as a result).