I would suspect that the leaf was damaged and what you are seeing is drying sap that leaked out from the damage. Hopefully, there are no insects causing further damage.