Friends of convenience
The UAE is only America's friend while they still have oil to sell them and cash to buy arms from them. The same applies to most of the Western countries.
Otherwise they'd already have the pariah state label that they fully deserve given their human rights record.