While I am perfectly aware that this is not what you mean (and I am quite deliberately ignoring the emotive tone - yes, all parties lie in war; I have been to one!):
This is actually quite the nice example of what I mean:
The person who most prominently and publicly stated that "Hamas" (see above for why I am putting it into quotes) is going to keep on doing 7 Oct. was Ghazi Hamad. He is a member of the Hamas politbureau in exile in Qatar.
Whereas 7 Oct - or "Operation Al-Aqsa Flood", as it was termed - was, according to everything that is known about it, planned, led and executed by the local arm of the Qassam brigades (and, actually: in collaboration with other local armed groups!) and that the politbureau might not even have been in the know about it all for - at the very least - a long time!
Look, you can go on and treat "but Hamas" as a monolith (and, for that matter: as the ONLY armed and prepared to resist Palestinian faction - they are decidedly not!) for all you want.
You can also do the same thing for "Israel" (even though we know that this is not true either - parts of the IDF and its leadership are, famously, at loggerheads with Netanyahu and his government over strategy).
You can do that - it just is not very useful (beyond its atrocity propaganda value).