Yes Hamas is doing that. But that doesn’t mean that’s ok to bomb everyone.
Are those people free to tell Hamas to store their ammunitions somewhere else? I truly don’t know.
I know that at some point Hamas was elected in Gaza but I don’t know how free elections are there now.
Israel is going to get tangled in a much bigger war and eventually will have more casualties than if they had gone block by block.