
Often there is an insect that releases chemicals into the tree that causes the formation ('warty growth') so it can develop the rest of its life cycle inside of it, protected from outside harm.
How to Prevent Oak Galls? Are they harmless?
There are no treatments since most do not harm the tree.
Watch Shawn's full interview on How to Care for Oak Trees: