as you heat the fruit, the proteins open up into strands that get tangled up and help stabilize the bubbles into a foam. adding the butter (a fat) helps prevent this tangling.