The U.S and Iran have traded strikes for a second day, pushing the Middle East closer to the resumption of a full-scale war.