Carpenter ants or termites: which signs fit the damage
https://thecleannest.rivetgarden.com/posts/carpenter-ants-or-termites-which-signs-fit-the-damage
Carpenter ants leave smooth, clean tunnels in wood, often with coarse sawdust (frass) and insect parts below. Termites create mud tubes and hollow out wood, leaving mud-like pellets; their tunnels are rough and contain soil. Ant damage appears in damp wood, while termite damage can occur in dry wood.