An F-4 Phantom fighter jets flies during an Army Day parade in the Iranian capital, Tehran. Iranian fighter jets struck Islamic State militants in eastern Iraq in recent days, the Pentagon said on Dec. 2. (BEHROUZ MEHRIBEHROUZ MEHRI/AFP/Getty Images)

Iranian fighter jets are now said to be bombing the Islamic State militant group in Iraq. It’s an escalation in Tehran’s presence there — and a development that has forced U.S. officials to walk a fine line while addressing it.

The latest example came Wednesday, when Secretary of State John F. Kerry was asked if he was aware of any Iranian airstrikes in Iraq, and whether he thought they were helpful in the fight against the militants. He declined to confirm whether any occurred and said Tehran and Washington are not coordinating military actions, a standing talking point for U.S. officials in recent days. But the secretary went a step further, saying Iranian airstrikes wouldn’t necessarily be a bad thing.

“I think it’s self-evident that if Iran is taking on ISIL in some particular place and it’s confined to taking on ISIL and it has an impact … the net effect is positive,” Kerry said, using one of the acronyms for the group. “But that’s not something that we’re coordinating. The Iraqis have the overall responsibility for their own ground and air operations, and what they choose to do is up to them.”

That’s a noteworthy reaction after decades in which Iran and the United States have been on the opposite of national security issues. From the Iranian hostage crisis that ended in 1981, to the support the U.S. gave Iraqi President Saddam Hussein in a war against Iran in the 1980s, to the ongoing tensions of Iran’s nuclear program, Washington and Tehran have long been at odds with one another.

White House press secretary Josh Earnest said the U.S. policy against cooperating militarily with Iran remains in place despite Iranian airstrikes in Iraq. (Reuters)

During the Iraq war, U.S. officials accused Tehran of supplying weapons to Shiite militia groups that attacked American troops. And in Afghanistan, Iran has exerted influence by providing support to Taliban insurgents fighting U.S. and coalition troops, while at the same time cultivating relationships in the Afghan central government, according to a 2011 analysis prepared by the Rand National Defense Research Institute for Marine Corps intelligence officials.

Iran spurned an American request for cooperation against the Islamic State in September, with its supreme leader, Ayatollah Ali Khamenei, calling the coalition formed “empty, shallow & biased” on Twitter. President Obama wrote a letter to Khamenei afterward to tell him Tehran and Washington had shared interests in Iraq, but Iran is believed to exert its military influence there on its own without any American involvement.

Several Iraqi military victories against the militants this fall have come with Iranian involvement, and the commander of Iran’s Quds force, Gen. Ghasem Soleimani, has paid a visit to Iraq, according to the Associated Press. Lebanon’s Hezbollah militia group — long backed by Iran — also may have been involved.

The Pentagon press secretary, Adm. John Kirby, said Tuesday that he had seen the media reports about Iran launching airstrikes on the Islamic State, and had no reason to doubt them. But he declined to take any position on them.

“Our message to Iran is the same today as it was when it started, and as it is to any neighbor in the region that is involved in the anti-ISIL activities,” Kirby said. “And that’s that we want nothing to be done that further inflames sectarian tensions in the country.”