I think I was under a lot of stress then — I have worked on a team or two where the project (and management) were stressful. So likely that is it.
(Also a tell: I began to notice my handwriting when I signed checks was deteriorating to something scrawly, uncontrolled — when I switched teams and made other changes in my life to reduce stress I found my signature return to the more graceful strokes I was used to.)
Musically, there is (still) often a song stuck in my head. But I put music on in the background nearly every day, seems to keep the song in my head moving along to something new....
The stress relationship may have something to do with it though. The times where it happened the most are pretty strongly correlated with high periods of stress in my life as well.
It often happens for words that I realized I was pronouncing wrong from only having read them and never having heard them. For example, sepulcher and dais come to mind as words that I repeated internally with no control for days on end and they're both words that I was mispronouncing until I heard them while reading and listening to an audiobook at the same time.
Interesting little quirk of the mind I suppose.
The song? A stupid commercial jingle. "Meow meow meow meow..."