The UAE is pretty good at playing both sides so they always come out ahead. They act as a key diplomatic intermediary and host a major US military base which is essential to projecting power in the region.