US officials have confirmed that a drone was lost over Iran.