It is puzzling, and should one really try to explain it?  The US DOD issued this statement in late March, 2017.  "Secretary [of Defence Jim] Mattis and Minister al-Attiyah [of Qatar] affirmed their commitment to continued U.S.-Qatar cooperation and deepening their strategic partnership",  then the President tweets the very opposite this week.