Two Palestinian militant groups , Hamas and the Fatah Hawks , have claimed responsibility for detonating more than a ton of explosives in a tunnel beneath an Israeli army post .