Somehow they got the US technology in order to sell it to Iran. I'm no legal expert, but there was probably an assumption during that transaction that they wouldn't be selling it to Iran, which they violated.
(which is exactly why this is different than them simply doing business with Iran in the first place)