the first thing to do in changing any hostility is to remove the behaviour that triggers such hostility, then to reach out the hand of friendship and offer apologies and begin talking about how fences can be mended.
of course peace will take a long time to recover with confidence after so many years of mutual hatred and aggression.
removal of Netanyahu is the first step as its Netanyahu who has triggered all of this violence, yes even the Hamas invasion..... Net had backed Hamas for almost 20 years..... with abundant cash from Israeli taxpayers. we see the same conduct in the reports of Netanyahu triggering the hiring and arming of crims in Gaza to murder starving people lining up for food.
for an alternative explanation, look at the goodwill accomplished by Obama with Iran..... and look at the difference when a stupid new POTUS withdrew from the Obama agreement.
its the leadership that makes all the difference in this level of international relations.