Why hot tub foam keeps returning and how to stop it

Persistent hot tub foam comes from residue in the water and pipes. Control it now, clean the water, then flush the plumbing before your refill.