The location of the U.A.E is irrelevant , the actual point was that Trump brokered a peace deal between Israel and the UAE .
Whether U.A.E is a neighbour to Israel or not is completely besides the point .
(And anyway , on the World scale, U.A.E and Israel could indeed be considered to be neighbours)