How do I make my walls to not affect my player movement (animation change)

When my character player runs and hit towards the edge of the walls he starts acting as if he was falling or jumping , I do not want it to react to it

My wall and player have both Box Collider

Do I have to include a tag collider to the wall as well ?

I froze the rotation X Y Z in my rigidbody (Robot kyle)