Sometimes it is shooter induced, and i may be caused by something seemingly inconsequential. For example, i have to quailfy with 3 weapons evey 6 months for work. I am pretty consistant about it, but last year, thinking nothing of it, i had several cups of coffee in the hours leading up to my range time. As a result, i was all over the paper.... still qualified, mind you, but obviously looser groups... all because the coffee made me a little jittery. I hadnt even noticed until i shot. Lack of sleep or foood can have an effect too.
Anyway... if you were getti g both verrical and horizonal strings, itd put it down to the shooter.... if it were consistently one of the other, maybe not.... but switching between the two suggest that neither is a hardware issue. Next time you shoot, try to be mindful of any shifts in body position or muscle tension... if something you arw doing is making a muscle tired it may give you stringing in one direction... then you shift a little, and the axist of movement changes, shifting the stringing.