If dems take back congress this election and the Iran war is still going by the 2028 election half the country will believe democrats started the war and want to continue it.
Congress has the authority to end any war or military action. If by 2028, with Dems-controlled congress and possibly Senat, they won't force US withdrawal, it will then count as a "want to continue it", no matter the justification.