Galls
I have seen something similar on fruit trees in California. Always found them full of ants. Don't know whether the ants caused the galls or were taking advantage of a weakness in the bark. Treated them with sulphur oil and they stopped growing. Didn't seem to hurt the trees. Just looked odd.