I wouldn't imagine there would be much of a correlation. Dogs learn from each other, but not 'by a glance', at least not in my experience. I've seen long-term boarders pick it up from each other, but they observe the behavior for a week or more before imitating it.
Either way, they're predisposed. Anxiety, lack of exercise, lack of engagement; chasing their tail is the only thing they can do to occupy their mind. It's boring in a kennel. Some dogs destroy things (like chronic crate-escapees/destructo-dogs) and some turn inward and develop fixations. I'd do the same if I had four walls to stare at for 23 hours a day like some kennel dogs do. A lot of military working dogs have stub tails for this reason. They're high drive and intelligent but because they have to be kenneled for so long they find ways to amuse themselves. There are a lot of chronic bowl- or bucket-divers that start that way as well.
It can be VERY hard to break a fixation like tail chasing or light chasing once it's really taken hold. Exercise is key, as is providing more brain-stimulating options while the pet is not being actively engaged, like puzzle toys or kongs or a large enclosure with activities like digging or bouncing around in a water bucket.