This is not a surprise. Just as Israel’s far-right is resisting a ceasefire agreement, so is Hamas’s benefactor. If Hamas won’t attack, and the US is protecting the Red Sea from the Houthis, Iran will attack directly.
Iran has been fighting this proxy war through Hamas, Hezbollah, and the Houthis since 1985.