It is interesting that apricots trees I have growing away from my house have holes in their leaves and don’t look particularly healthy, although they don’t usually die- they just don’t bear fruit, whereas the trees I have growing against the east and south walls of my house have healthy leaves and produce fruit generously. The productive parts of the trees are those closest to my white walls.
That could all make perfect sense in that the white walls intensify the sun to dry out and even kill the fungus spores mentioned. The problem is that at other sites nearby, apricot trees remain healthy and productive while growing out in the open, until they suddenly die. No shotholes in their leaves, like my trees get.
I always assumed it was bacterial leaf spot. I’ve never gotten around to submitting a sample to a plant pathologist.