Telling people to leave their home before you destroy it doesn't make destroying their homes less of a crime.I have some small familiarity with the IDF and Israeli policy and except in the case of demolishing terroist homes, which they believe has some deterrent effect (questionable in my view) they do not act in a punitive or reckless way. All of their strikes are targeted based upon intelligence. That is not to say that they do not make mistakes or that there is not collateral damage. If they did not care about Palestinian lives they would not have give the warnings to leave etc.
Targeting civilian infrastructure is a war crime.