The first possible cause is slime flux or 'wetwood'. A bacteria in the wood builds pressure causing the trunk to foam while the foliage remains healthy and green. The second is caused by a fungus and called mimosa wilt. The leaves will wilt, slime oozing from all areas of the tree due to the roots being infected. It's fatal.