The surprise attack shattered a period of relative calm during Ramadan and raised questions about the fate of hostages held by Hamas who are believed to still be alive.