Netanyahu doesn't care about Trump any more than he cared about Biden. He cares about himself and his grip on power. Those lives lost preserved that for him.
I highly doubt this war is over, because if Netanyahu runs out of emergencies, he will have to resume his corruption trial.