WASHINGTON—Two American surveillance aircraft flying in what U.S. officials said was international airspace near Iran were threatened by Iranian air defense stations over the weekend, and were told by the Iranians to alter their course or face fire.

The two U.S. Navy surveillance aircraft were challenged by Iranian military officials on Sept. 10 as they flew over the Strait of Hormuz on routine patrols, U.S. officials said.

Using...