Eggs are laid in foam, which breaks down in a day and releases the eggs into a layer on the top of the water.
In this context, the eggs are released from their protective foam covering, allowing them to settle on the water's surface.