That's the two wrongs make a right logical fallacy. That the US did shit to Iran does not excuse the shit Iran is currently up to.
The book, "Twilight War," has a lot of material background on the matter.