means that
people who feel guilty may devise ingenious excuses or explanations to justify their conduct or conceal wrongdoing.
Before anyone asked why the vase was broken, the child invented three elaborate explanations for the accident. “A guilty conscience is the mother of invention.”