(CNN)-- Iran affirmed its desire to ensure safe passage for ships through the Strait of Hormuz, but again claimed that the United States is hindering its efforts in this regard.

Iranian Foreign Ministry spokesman Ismail Baghaei said Monday that talks held in Oman over the weekend were focused exclusively on reaching a new arrangement for managing navigation in the strait.

He added: 'Our goal was to reach a mechanism, in consultation with Oman, to ensure safe passage for ships, but that was not achieved due to overt and covert US pressure on Oman.'

Baghaei’s remarks came after the second consecutive night of US strikes targeting sites inside Iran, and Tehran’s response by targeting US military facilities in several Gulf countries.

Baghaei said: 'As long as Washington continues to violate its commitments, the Islamic Republic of Iran will in turn refrain from fulfilling the commitments it has undertaken.'

He added that Iran, as a country bordering the Strait of Hormuz, 'has the right and responsibility to take necessary measures to protect its security and national interests.'

He also considered that 'the US claims about escorting merchant ships are in themselves evidence of Washington’s insistence on perpetuating a state of insecurity in the region.'

Iran insists on having a role in managing navigation traffic through the strait, while the US demands absolute freedom of navigation and has encouraged shipping companies to use a route close to the Omani coast.

Over the weekend, an Indian container ship was attacked by a drone off the Omani coast. For its part, the Iranian Revolutionary Guard Corps Navy announced that a ship using an unauthorized route in the strait had been 'hit' by a warning shot and was stopped.

This incident sparked a new round of US strikes during Saturday and Sunday nights.