From the Upper Thames River Conservation Authority:
From time to time there is unsightly foam flowing down the river or accumulating along the shoreline in the Upper Thames River watershed. If you have every experienced this, you may have immediately thought this was some chemical flowing down the waterway. In a majority of situations, the foam is a natural phenomenon. Read more on the UTRCA website.