Foam is not harmful to fish. In fact, many fish use foam as a spawning ground and nursery area. The main concern with foam is that it can absorb pollutants from the water and release them back into the environment when the foam breaks down.