Because when walking away it shows the other person that you dont care what they think/feel so the stop trying to impress.
Lower rates of anxiety, depression, higher self-esteem and greater empathy. Can also strengthen immune system, shorten disease and possibly even lengthen life.