Wikipedia
Slime flux
Slime flux is a bacterial disease of certain trees, primarily elm, cottonwood, poplar, boxelder, ash, aspen, fruitless mulberry and oak. A wound to the bark, caused by pruning, insects, poor branch angles or natural cracks and splits, causes sap to ooze from the wound. Bacteria may infect this sap causing it to darken and stain the bark, eventually taking on a foamy appearance and unpleasant odor. This slimy ooze becomes toxic to the bark and eats into the tree. Additionally, the fermented sap attracts insects like flies, ants, and maggots.