could be carpenter ants or beetles.....................but after the sun passes & the tree cools off and it almost dark, mix up 2 tablespoons dawn & 1 qt water and spray on and under the leaves and the trunk and around the ground. It will not kill them but it will keep them off until the next rain...........after the rain do it again. In the fall check the dormant oil container and see if that tree is on the list..........if so do in fall after the leaves are off and again in the spring...........don't spray over 90 degrees.........