earwigs IN my apple tree
so today, i was looking at my tree and noticed these gashes that have been there for a while(only 1 inch long, down to the wood) they have looked normal up untill now. i poked the loose bark around it, and an earwig came out! i did it again and again, maybe 10 earwigs in total. the tree looks healthy, leaves fruits and everything, except for these gashes at the trunk. i have 2 questions:
1.is this going to be very harmful to the tree?
2. if so, how the heck do i get them to go away?