Civilians were killed by mistake (a tragedy) or intentionally (a crime). For example, all civilians killed in Israel by Hamas and Hezbollah were killed intentionally (they even openly admit it). If any Israeli solders disobeyed the orders and killed civilians intentionally they will stand trial for that. Now if only you would demand Palestinians and Lebanese to put on trial Hamas And Hezbollah fighters and commanders intentionally targeting civilians in Israel...
Western-backed Syrian rebels say kill foreign Islamic State (Reuters)
from the article: IDF soldier charged with killing woman during Gaza war