The stock market fell over fears of unrest following a U.S. strike that killed Iranian military leader Qasem Soleimani Thursday, but defense-contractor shares surged as speculation regarding possible conflict in the Middle East rose.

โ€œAs is always the unfortunate case, defense stocks tend to benefit from perceptions of heightened risk and the potential for geopolitical conflict,โ€ Citigroup analyst Jonathan Raviv wrote in a Friday report.

Markets opened by falling over a percentage point across the board, before somewhat steadying. As of noon Friday, the Dow Jones fell over 170 points, while the Nasdaq and the S&P 500 dipped 39 and 14 points, respectively.

Counteracting the trend, defense contractors saw their stocks rise with a potential conflict after Iranโ€™s Ayatollah Khamenei vowed revenge for Soleimaniโ€™s death.

Aircraft makers Northrop Grumman Corporation and Lockheed Martin gained 17 and 14 points, respectively, while major U.S. missile maker Raytheon rose nearly two percentage points to $228.63 per share.

โ€œIran must respond. This is potentially the most destabilizing event in the region since [the U.S.] invaded Iraq,โ€ Academy Securities wrote in a note Friday. โ€œShia Mobilization forces will undermine the Iraqi government by targeting U.S. forces and Iraqโ€™s government wonโ€™t be able to control the chaos. It has changed the narrative in Iraq from a weak government โ€“ recent protests at the U.S. Embassy โ€“ to โ€˜down with Americaโ€™ and a violation of sovereignty.โ€

Oil and gold prices also surged Friday, with Crude Oil rising over a dollar to $62.53 a barrel and gold gaining over a whole percentage point to $1,550 an ounce.