President Barack Obama and Iranian leader Mahmoud Ahmadinejad traded heated remarks Friday on the emotional subject of the Sept. 11 terrorist attacks.