It was a red card but the Iranian striker went down very easily because the contact didn't look like it was enough to stop him like that.
But the ball had already gone past, so the defender wasn’t attempting to win the ball, he made contact only to stop the player. So you’re always going to be risking it going against you there.
Just a rash, spur of the moment panic decision, really.