That happens because of the player's rigidbody. It prevents the player from running through the walls.
Thanks for playing :)