The U.S. struck back at Iranian-backed militants in Iraq as tensions from the Israel-Hamas war continue to spill over into the Middle East.