Q.tree bark
Half of my tree has bark damage. I live in Colorado. Could it be sunburn or weed killer? One large branch has tiny pin head holes in it and no leaves. Bark is peeling and has what looks like earwig bugs. Branches have tiny flying bugs that have longer front legs than back. Just moved here and don’t know what kind of tree it is, but it does have seed pods that are like a helicopter.

Certified GKH Gardening Expert
It is a maple tree and it sounds like you have borers. This article will help:
https://extension.colostate.edu/pubs/insect/05530.html