Q.Growing almond tree in Phoenix area
I planted a almond tree about 2 weeks ago ! It was a good size tree at about 4 feet tall ! It came in a 15 gallon pot ! I noticed that some of the leaves are turning yellow and falling off ! The temperature here has been in the low 90s ! It gets about 8 hours of sun a day ! I’m wondering if maybe I’m watering it too much? I read they need a good amount of water when it’s hot! Or maybe it’s transplant shock !

This link has planting and care information.
https://www.gardeningknowhow.com/edible/nut-trees/almonds/growing-almond-nut-trees.htm
Yellowing leaves do indicate a watering issue. Make sure the soil is moist, but well draining.
Daily watering is needed for the first 2 weeks, but with extreme heat and wind, you may need to water more throughly and longer.
3 to 4 inches of hardwood mulch will help with moisture retention, but you will need to keep the mulch away from the base of the trunk.
https://www.gardeningknowhow.com/ornamental/trees/tgen/watering-newly-planted-tree.htm