From the CNN article:
The Israel Defense Forces (IDF) told CNN they were responding to enemy fire from the warehouse. One eyewitness said he heard what he called “resistance fire,” referring to fire from Hamas or another militant group, and local journalists reported “clashes” in the area that day.
War is hell and yes innocent people die in war. As to Israel indiscriminately targeting civillains I don't buy it.