It came hours after the ceasefire between Israel and Hamas took effect in the morning, nearly three hours later than scheduled, after more than 15 months of war.