Q.how do i get ants off my apple trees without pestisides
Ants are eating my apple trees.
There are many types of ants. One that you might find on your trees is carpenter ants. This article has information on dealing with those: https://www.gardeningknowhow.com/plant-problems/pests/insects/home-remedies-carpenter-ants.htm
This article has some more information on other species of ant: https://www.gardeningknowhow.com/plant-problems/pests/insects/get-rid-of-ants.htm
Also, the ants may be traveling into your trees to feed on honeydew of aphids or scale, so you may want to treat for these: https://www.gardeningknowhow.com/plant-problems/pests/homemade-aphid-control-a-natural-way-to-kill-aphids.htm