President Trump on Friday told reporters that Iran should have "thanked" Barack Obama for the nuclear deal.