Iranian officials promised retaliation against any hostile U.S. actions after President Donald Trump issued a threatening tweet at the country’s president, escalating a war of words fought in recent weeks.

Iranian Defense Minister Amir Hatami said Monday that the U.S. and its allies “don’t understand any other language than force,” as he announced a new production line of air-to-air missiles in Tehran.

Gholam...