The attack was a major escalation in renewed fighting between an important U.S. ally and the Iranian proxy group.