U.S. intelligence agencies say the UAE was behind a hack that published fake comments by the emir of Qatar.