When hitting Play Animation with a layer selected, a different layer will be selected. While in the example gif shows it consistently switching to the same folder, I’ve observed this behavior going to different layers and folders. It always seems to select a layer above the starting layer - The top most layer does not exhibit this behavior as there are no layers above it.
Stopping the animation can produce the same effect