Pakistan has retaliated against its neighbouring country Iran with missile strikes, less than two days after a comparable Iranian assault exacerbated tensions between the two nations.

Pakistan stated that its airstrikes had targeted "terrorist hideouts" in the Pakistani-bordering province of Sistan-Baluchestan, Iran.

According to Iranian media, the fatalities included three mothers and four children. Pakistan retaliated indignationally against Iran's assault, which Tehran claimed was directed at terrorist organisations.

During a time of turmoil in the Middle East, reciprocal airstrikes have taken place; Israel is engaged in combat with Hamas in Gaza and is exchanging fire with Hezbollah, an organisation backed by Iran, in Lebanon; US forces are being targeted by Iranian-backed groups in Iraq and Syria and the United States and the United Kingdom have launched strikes against the Houthis, an Iranian-backed group in Yemen that has been targeting shipping.

Longstanding animosity exists between Pakistan and Iran over the alleged sanctuary of militant organisations that launch assaults from areas straddling their common frontier. However, official military engagement between Pakistan and Iran regarding this matter is rare, and the two countries generally uphold amicable, albeit delicate, diplomatic ties.

The foreign ministry of Pakistan confirmed its strikes on Thursday. The statement claimed that while Pakistan "completely respects" Iran's "sovereignty and territorial integrity," its Thursday action was "a demonstration of Pakistan's resolute determination to safeguard and defend its national security against any and all threats."

Islamabad reports that two children were slain in Iran's strike on Tuesday, which Pakistan had vehemently condemned.

The international community had issued a dire warning to Tehran regarding the "illegal" action, prohibiting the return of Iran's ambassador and withdrawing its own envoy from Pakistan. Iran maintained that its airstrikes were exclusively directed at Jaish al-Adl, a Baloch Sunni Muslim ethnic group notorious for its attacks within Iran, and not at citizens of Pakistan.

Iran also attacked targets in Iraq and Syria earlier this week. It claimed to have struck Islamic State and the Israeli Mossad intelligence agency, both of which were implicated in a bombing that claimed the lives of 84 people in the Iranian city of Kerman earlier this month, according to Iran.

Analysts stated that Pakistan's response, which was depicted as a targeted assault against insurgents, was not unexpected and was similar to Iran's.

South Asia director at the Wilson Centre Michael Kugelman mentioned that the escalation risk is increased by Pakistan's retaliation, but it also presents an opportunity to retreat from the precipice.

Effectively, the two parties are now on an equal footing. Particularly in light of Iran's aggressive behaviour in the broader region, which included both direct and proxy assaults against adversaries and threats, Islamabad was intensely motivated to reinstate deterrence. Had Pakistan remained in its current position, it would have essentially rendered itself vulnerable to additional aerial assaults.

A staunch ally of both countries, China, has urged both factions to exercise moderation and prevent a heightened situation.

The present turbulent mood in the Middle East, according to analysts, also likely influenced Iran's strikes this week.

While Tehran has expressed a reluctance to engage in a broader conflict, backed groups have intensified their endeavours to undermine Israel and its allies as a show of support for the Palestinian cause.