get rid of galls
My oak tree has what my mom calls galls on the branches. They are big knots that grow on them.
Here is an article that will help you with this: https://www.gardeningknowhow.com/ornamental/trees/oak/oak-apple-gall-info.htm
Believe it or not we found that hanging a bird feeder in the tree did help stop the problem, along with hanging a wasp trap in the tree in another location as well.