Who knows what happened. The obvious answer is it was an Israeli attack but every chance it wasn't. But reading the quote from Hamas referring to Israel committing a war crime was quite something.
If it was an Israeli attack it was a war crime, plain and simple. It makes no difference that Hamas has called it out. The problem is that Israel will get away with it if they did indeed cause it because the US stands shoulder to shoulder with them no matter what.