WASHINGTON — American military commanders are reviewing how their forces conduct missions in Iraq and Syria after the deaths of two U.S. Special Operations troops in northern Iraq on Sunday during an operation against Islamic State fighters, military officials said on Monday.

The review, spurred by the particular circumstances surrounding Sunday’s mission, will examine how U.S. forces advise and accompany local troops, the officials said. During the review, American military operations will continue, they said.

The Americans killed were part of a Marine Special Operations team partnered with Iraqi counterterrorism forces, and were locked in a brutal gun battle while clearing a well-defended cave complex in mountains near the town of Makhmur, roughly 40 miles southwest of Erbil. The U.S. deaths are the first of 2020 in the nearly six-year American campaign against the terrorist group.

According to one military official, the Americans who were killed had to be pulled out with a hoist after falling into a crevice.