The recent Iranian missile and drone attacks on civilian and military targets in the Gulf have abruptly derailed efforts at rapprochement between Tehran and several Arab states, reinforcing the cautious stance Morocco has maintained since 2017.