All that said, Trump himself has said that Israel should get the war over soon. He was ambiguous about how to do that, which is kind of creepy. But even if the war might be harming his opponent's campaign, Israel has committed the one unforgivable sin in the Trump universe: becoming unpopular.
https://apnews.com/article/trump-biden-israel-pr-hugh-hewitt-21faee332d95fec99652c112fbdcd35d