I think that's exactly it. Terrorist groups (or Resistance Organisations) tend to operate on a cell structure for security. But rogue cells can be disowned, so the Hamas leadership were still nuts to claim responsibility,if they really wanted peace.
I suspect that much of Hamas - like the Israeli far Right - does not want any peace short of killing or driving out everyone on hte "other" side.