For many lies, the reasons are complicated. Sometimes it's to protect the liar from being punished, or to protect someone else from punishment. The lie might be to avoid being embarrassed, to hide an awkward situation, or to simply have others think better of the person telling the fib.