His lawyer sent a copy/backup of his phone & text messages to the other side. The mind boggles as to how someone’s legal team can do that.
According to commentary it seems common enough, this happens where’s there is so much tooing and froing that extra documents are sent over. Where the lawyer really messed up was not requesting that particular texts / emails not be used. Incredibly the lawyer tried to claim a mistrial because of his cock up - along the lines of the we accidentally sent you the messages Jones said he didn’t have / never sent and I forgot to tell you they were out of bounds so strike out the case. Like something out of the Simpsons.
He also allowed Jones to go on the stand surely knowing he was committing perjury. I would expect Jones will sue him for negligence.