Evidently, judging from Hamas behavior, they only wanted to stall the negotiations long enough to rearm and recruit to prepare for the next round of fighting. For Hamas, no end to the fighting was ever in consideration.

Israel says to Hamas: “You didn’t return the hostages, you dragged out the negotiations with bad faith, you haven’t tricked us, ceasefire is over.”
We Work in a Challenging Environment.
Please Pray and Send Support.
Source: https://www.jpost.com/opinion/article-846605