Rigidbody stuck in the wall

When i’m trying to jump while moving about the wall/blocks my Rigidbody character just stuck in the wall. You can see it on my gif.
Animation

image
image

float h = Input.GetAxis("Horizontal");
float v = Input.GetAxis("Vertical");
Vector3 movement = new Vector3(h, 0 f, v);
Vector3 moveVector = transform.TransformDirection(movement) * Speed;
rb.velocity = new Vector3(moveVector.x, rb.velocity.y, moveVector.z);
// gravity
Vector3 my_gravity = Vector3.down * gravity;
rb.AddForce(my_gravity, ForceMode.Acceleration);

IsOnGround();

if (Input.GetKeyDown(KeyCode.Space) && IsOnGround()) {
  rb.AddForce(Vector3.up * jumpPower, ForceMode.Impulse);
}
bool IsOnGround() {
  //RaycastHit hit;
  if (Physics.BoxCast(transform.position, collisionBoxSize, -transform.up, transform.rotation, collisionMaxDistance, collisionLayerMask)) {
    isOnGround = true;
    return true;
  } else {
    isOnGround = false;
    return false;
  }

}