If you are ever in a compromised situation, being able to reconstruct a lie is far, far more difficult than organically telling the truth.
Memory is a very complex process. When a lie is made, the collateral senses are not linked to the lie and cannot be re-created or memorized.
So, when confronting a lie, interrogating on the then present sense impressions will usually reveal the lie.