Trump was the first US president to make an official state visit to Qatar, and the stop culminated in a trade deal.