The bug happens when the player moves on a moving platform, and ends his movement in between two blocs. When this situation happens, the player slides until it is completely on one bloc, and this can happen either in the same direction as the original movement, or in the opposite direction. The player sometimes even moves back and forth.
Here is a repository that isolates the bug, in which nothing the only implemented features are the A and D keys to move the player left and right, the ESC key to reset the game, four moving blocs and the player.
The physics engine used is the "arcade.PhysicsEnginePlatformer" engine.
Isolated bug repository