Maybe there is something going on with the colliders/friction of the ground; you could try to use a CircleCollider2D on the skeleton instead of a Box and/or play with PhysicMaterial2D to assign both the ground collider and the skeleton collider a custom material and play with the friction there. I hope this helps!