A judge sharply criticized Elon Musk for not properly turning over text messages that could be evidence in Twitter’s lawsuit seeking to force the billionaire to complete his proposed $44 billion buyout of the social-media platform.

Delaware Chancery Judge Kathaleen St. Jude McCormick said in a Wednesday ruling there there were "glaring deficiencies” in how Musk and his lawyers responded to Twitter’s request for text messages he and top aide Jared Birchall sent and received about the proposed deal and his subsequent effort to withdraw from it. She ordered the men to turn over phone records about their texts.

"Third parties produced text messages with Musk that Musk himself did not produce,” she said. Some of the exchanges he produced also had obvious gaps. Still, she noted Musk’s legal team moved to clear up many of the problems Twitter complained about in pre-trial information exchanges.