Trump's Iran war and tariffs raised living costs, eroding trust in his leadership and helping Republicans lose Congress.