The attack follows a 12-day air war in June between Israel and Iran and repeated U.S.-Israeli warnings that they would strike again if Iran pressed ahead with its nuclear program.