US Secretary of State Mike Pompeo made an unannounced visit to Iraq.