No, not resigning over Gaza (def doesn’t affect the election). My counterfactual would be Biden resigning because he was too old to run for reelection, and give Harris a chance to differentiate herself including Gaza/Afghanistan/inflation/etc. The media would treat her differently as well.