-Removed-
Hamas has a history of hiding in hospitals, building tunnels and bunkers under hospitals, and using civilians as shields. They probably thought that there was no way Israel would hit that spot, and Israel just did it anyway. The motive was to end the war more quickly.