Someone once asked...
Someone answered with kindness...
I think hair has sometimes been associated with vanity or luxury, so cutting it off is a way of showing that you are not vain and do not live for luxury.