Welcome to our forum.
Sounds like a biofilm issue. I noticed the same bubbles with some yellow-brownish scum collecting at the water line under the pillows. It took two successive flushes and didn’t notice any foam or scum after that.