President Donald Trump offered rare public criticism of the U.S. ally after the strike in Doha, which threatened to imperil efforts to secure a ceasefire and free hostages held in Gaza.