For some albums (or possibly only some songs), when I set the rating for any song (even if not the one being played), the song being played will skip. This also happens when a song finishes and the playlist advances to the next song. Sometimes it is just a few seconds, other times it skips to the middle of the song.
I can't be certain that it is restricted to certain file types, but I've noticed it for M4A files (AAC) and I don't recall it happening to FLAC files. Most of my M4A files were ripped using various versions of WinAmp.
I made a video (unlisted) showing when this happens for rating changes:
https://youtu.be/ROJCVDkimzo OBS couldn't capture the right-click menu, but you can see the file rating change in the video and can both hear and see (in the progress bar) the skip.
I am a SDET, and would be happy to run WACUP in Visual Studio with a custom breakpoint to get a call stack.