They're imprisoned Justly, Hamas declared a truce or a temporary cease-fire with Israel after the battles, but these guys they don't understand what a Truce means and why it is important in order for the people to regain their health and for the supplies to flow back in and in order for Hamas to regain their strength and formulate new strategies. Hamas who are the legitimate government who was elected by the Muslims chose to have a truce, these guys will disobey and fire random rockets only to have Israel retaliate and destroy the entire Gaza strip, tighten the siege and block all paths. What Hamas does is that they don't kill them, they just arrest them and keep them in prison so that Israel wouldn't have an excuse and say "Hamas broke the truce thus they deserve to be bombarded" (Like in 2009 when Israel broke the truce). These extremists however cannot be arrested easily they will actually fire at the Hamas people and try to kill them so they have casualties usually when trying to stop these extremist groups... The extremists go even further by claiming that gaza is an emirate and that they choose the Ameer and that Hamas has to drop their weapons and follow the Ameer the Salafi extremists elected...it gets complicated.