Pistacia khinjuk is a tree of the colder deserts of SW Asia. In Jordan it is locally common in the Edom Mts (including Petra, where this pic was taken). Here you ca nsee it emerging from a sandstone cliff.
The next population of this tree occurs in Southern Sinai (Egypt).