Answer: Sounds like an insect problem but I'm not sure which and without knowing what kind of tree, I can't even guess what it might be. Why not take one of the affected branch parts (in a plastic baggie!) to your local garden center or cooperative extension office for diagnosis? Helpful staff there can identify the problem and suggest control rememdies.
Q&A Library Searching Tips