UAE is a stone's throw away from Iran. So if sh!t hits the fan Iranian missiles can target the UAE. Turkey however is too far away to directly threaten the UAE.
Iran has invaded Uae owned Islands in the Persian Gulf ever since the 1970s. But these cowards are too busy trying to pick a fight with Turkey.