Freshly washed bathing suits, body lotions, body gunk, hair products can and will produce foam. Even some spa products will cause foaming.
Put the air on, get it to foam, scoop it out with a pool skimmer and then hit the tub with MPS - it will clear it up.