I think it's also considered a developmental milestone as lying requires a pretty sophisticated theory of mind, and an understanding of the perspective of another person