CharacterBody3D's getting stuck on each other

I have two CharacterBody3Ds which have basic box colliders, and the motion mode is set to Floating. Only one is player controlled. When I use the player controlled CharacterBody to collide with the other one, it gets stuck in place. I have unchecked every layer at the Moving Platform section, so that can not be causing the problem. Any help is appreciated.

EDIT: It turns out having axis locks caused them to get completely stuck, but the problem is still there: if one body slides on another for too long, it stops completely.

Here is the problem in action. Both bodies are using MoveAndSlide.