Red stuff??

Does anyone know what this red stuff is? I’m assuming its some sort of pest spray but haven’t seen it before.

thanks! this forum has been a huge help so far!

Hard to tell scale and it’s dark but could be pest bait.

Looks like sap in the wood.