I don’t know what that is but I messed up and bough fish at the lfs without have a quarantine set up so I just took stuff from my existing tank to cycle it and I saw that foam too not as much as you have. Might be something with cycling
make sure all your snails are okay. You could possibly filter it out with like a fish net to remove it
just googled it and it could be poor water quality, bubble nest, or water agitation. Do a large water change