He's not on trial for war crimes. He's on trial for corruption and financial crimes in Israel.
And what do you mean escalated efforts in Gaza? They've levelled the entire strip. There's almost nothing for refugees to return to even if the war ends. They will do it slowly, but they will annex most, if not all, of the strip. Just as they did in the Golan Heights, West Bank, Jordan, etc...
The complication in this process is they have to toe a very fine line to give the West some ability to say they aren't villains. It's about putting as much pressure as possible on Palestine without crossing the line the US sets. Their settlements in the West Bank are illegal. That's not in dispute. If the US wanted to, we could make them disband them in a second. But we don't because we also have to make Israel happy because they're an important proxy in the region. It's a very complex push and pull between the US and Israel, where both sides are pushing their own agenda while trying to keep the other side happy.