Likely a small woodpecker, the yellow-bellied
sapsucker feeding on the tree sap and the bugs that are then attracted to the sweet sticky sap.
Tree stress from humans, animals, or something else increases sugars in the tree to provide energy to help repair the tree in damaged areas. Some birds (like sapsuckers), animals, and insects can detect the sweet tree sap and are attracted to the area. Sapsuckers bore "sap wells" in the weakened area, which can lead to fungus, bacteria, and insect damage and possibly affect the entire tree.
To repair the wound area paint it with 3% hydrogen peroxide on the wound area, then smear the wound with a mixture of:
1/3 compost
1/3 soft rock phosphate
1/3 food grade Diatomaceous Earth
The mixture creates a protective layer woodpeckers aren't fond of.
To strengthen the tree, buy dollar-store tuna, put one can in the blender, fill 1/4 with water, blend until fully pulverized, then fill all the way with water and blend for 30 seconds. Make 1 to 2 gallons and pour around the root base.