Hamas condemned the incursion, which the Israeli military said was to dismantle a "terror tunnel", as a "flagrant" ceasefire violation.