Why do people lie?

Why do people lie to those that have posted a picture of a pregnancy test and say it's positive, when it is quite obviously negative? Lying to someone isn't going to help them. They asked for the truth. If it's negative, then say so. I genuinely don't understand why so many people lie.