I really, really doubt it was the pesticide.

Much more likely: you added enough chlorine to 'float' the algae, something I've seen numerous times.

Ben