Heat is potentially much more damaging, in container gardening vs in the ground. Containers can get extremely hot, even at more mild temps. Say the low 80s. Pts in direct sun, for hours at a time could benefit from shielding the container for the sun, but keeping the plannt exposed.
In the desert, it would be best to use a canopy/tarp ect to shield them in the hottest part of the day.