Someone else may likely have a better answer but I'll take a stab at it. Looping thoughts can go around and around in a person's head like a circle. Just a guess but I'm thinking the connection would be related to the common problem in ADHD of hyperfocusing or having difficulty appropriately shifting attention from one thing to another.