Lots of possible reasons for hair algae. To much light will accelerate the growth but there is still an underlining cause. A couple of them being over feeding, using tap water because it has phospatea in it, not a sufficient clean up crew and excess waists builds up fueling algae growth.