Woke up to find this bright yellow, frothy patch on my mulch. It appeared overnight and looks like expanding foam. Any ideas?

and other organic matter, which contributes to its rapid growth.
3. How to Tell Dog Vomit Slime Mold From Expanding Foam or Fungus
While dog vomit slime mold can resemble expanding foam, several key characteristics distinguish it. Unlike expanding foam, which is solid and uniform in texture, slime mold has a spongy, frothy appearance and can vary in color as it matures—from bright yellow to brown. Slime mold also has a distinct, somewhat unpleasant odor.
In contrast to fungi, slime molds do not have a structured fruiting body like mushrooms.