While Iran and Turkey may not always see things the same way, they increasingly share interests.
Kurdish forces controlled the city after driving Islamic State out in 2014 but were ejected by the Iraqi army in 2017.
Several rockets landed near the perimeter of the large Khor Mor gas field in the Sulaimaniya region of northern Iraq.
Iran has long accused Iraq's autonomous northern Kurdish region of harboring terrorist groups involved in attacks against the Islamic Republic.
The US also seeks to deter Iran. Iran has backed proxies in Iraq and Syria to attack US forces.
Authorities in Erbil are approaching the topic in a sensitive manner as they don’t want airstrikes throughout their region but they want warm ties with Ankara.
Turkey regularly carries out air strikes in northern Iraq and has dozens of outposts on Iraqi territory.
Ankara says the offensive is a measure to prevent the PKK from using Iraq as a base to carry out attacks in Turkey.
The overall dispute is symbolic of larger power struggles.
The Iranian governemnt is reportedly irate over a 'secret deal' between the United States and Iraqi Kurds that would provide the latter with air defense weaponry.