Researchers say they have figured out that the pollution is being caused by poorly run and maintained wastewater facilities.