Who answers a question “I can’t recall if I lied”? That very answer about not recalling if he lied has to be a lie.
He said on the stand that he doesn’t know why, in the text exchange, he didn’t simply say “I don’t know”.
That’s quite a verbal gymnastic skill.