Algae are the cause. These are single-celled organisms that grow quickly in the right conditions and can turn the water in a swimming pool green within a few hours.