The object is not in focus, but it looks like Black Knot, a very common fungal disease of wild and flowering cherries and plums. It's not treatable once the symptoms appear, but if found on a tree in your yard, it can be pruned off and thrown out (don't compost the infected twig).