Foamy pool water usually is a result of algaecide use.