I feel pity on you for your sick-minded mentality. The Arab states give citizenship to some one or no one has nothing to do with respecting the sovereignty of those states.
Also, the case with Afghanistan is different. Taliban is not a representative or recognized government in Afghanistan. At best, they are warlords and at worst, which the case BTW, they are a terrorist group that is holding Afghanistan by the force of bullet. Taliban were engaged in talks by Pakistan, many a times involving other countries too, to dissuade them from sending terrorists into Pakistan. However, the shit of a Greater Afghanistan was pushed under their skulls by Hindutva terrorists. Even then, Pakistan did not bomb Afghanistan indiscriminately. Only their terror infrastructure was targeted.
Iran has no right to violate the sovereignty of Arab states. Having a good or bad government is none of your or Iranians business. It's the sole right of their own citizens.