Decomposing algae and plants come to the surface and the waves on the lake mixes the decomposition with air and causes the foaming.