The diplomatic cable from Beijing arrived in Washington late on Friday night, with systematic edits to a nearly 150-page draft trade agreement that would blow up months of negotiations between the world's two largest economies, according to three U.S. government sources and three private sector sources briefed on the talks.

The document was riddled with reversals by China that undermined core U.S. demands, the sources told Reuters.

In each of the seven chapters of the draft trade deal, China had deleted its commitments to change laws to resolve core complaints that caused the United States to launch a trade war: theft of U.S. intellectual property and trade secrets; forced technology transfers; competition policy; access to financial services; and currency manipulation.

President Donald Trump responded in a tweet on Sunday vowing to raise tariffs on $200 billion worth of Chinese goods from 10 to 25 percent on Friday — timed to land in the middle of a scheduled visit by China's Vice Premier Liu He to Washington to continue trade talks.

The stripping of binding legal language from the draft struck directly at the highest priority of U.S. Trade Representative Robert Lighthizer, who views changes to Chinese laws as essential to verifying compliance after years of what U.S. officials have called empty reform promises.

Lighthizer has pushed hard for an enforcement regime more like those used for punitive economic sanctions — such as those imposed on North Korea or Iran — than a typical trade deal.

"This undermines the core architecture of the deal," said a Washington-based source with knowledge of the talks.

Spokespeople for the White House, the U.S. Trade Representative, and the U.S. Treasury Department did not immediately respond to requests for comment.

Chinese Foreign Ministry spokesman Geng Shuang told a briefing on Wednesday that working out disagreements over trade was a "process of negotiation" and that China was not "avoiding problems."

Geng referred specific questions on the trade talks to the Commerce Ministry, which did not respond immediately to faxed questions from Reuters.

Lighthizer and Treasury Secretary Steven Mnuchin were taken aback at the extent of the changes in the draft. The two cabinet officials on Monday told reporters that Chinese backtracking had prompted Trump's tariff order but did not provide details on the depth and breadth of the revisions.

Liu last week told Lighthizer and Mnuchin that they needed to trust China to fulfill its pledges through administrative and regulatory changes, two of the sources said. Both Mnuchin and Lighthizer considered that unacceptable, given China's history of failing to fulfill reform pledges.

One private-sector source briefed on the talks said the last round of negotiations had gone very poorly because "China got greedy."

"China reneged on a dozen things, if not more ... The talks were so bad that the real surprise is that it took Trump until Sunday to blow up," the source said.

"After 20 years of having their way with the U.S., China still appears to be miscalculating with this administration."

The rapid deterioration of negotiations rattled global stock markets, bonds and commodities this week. Until Sunday, markets had priced in the expectation that officials from the two countries were close to striking a deal.

Investors and analysts questioned whether Trump's tweet was a negotiating ploy to wring more concessions from China. The sources told Reuters the extent of the setbacks in the revised text were serious and that Trump's response was not merely a negotiating strategy.

Chinese negotiators said they couldn't touch the laws, said one of the government sources, calling the changes "major."

Changing any law in China requires a unique set of processes that can't be navigated quickly, said a Chinese official familiar with the talks. The official disputed the assertion that China was backtracking on its promises, adding that U.S. demands were becoming more "harsh" and the path to a deal more "narrow" as the negotiations drag on.

Liu is set to arrive in Washington on Thursday for two days of talks that just last week were widely seen as pivotal — a possible last round before a historic trade deal. Now, U.S. officials have little hope that Liu will come bearing any offer that can get talks back on track, said two of the sources.

To avert escalation, some of the sources said, Liu would have to scrap China's proposed text changes and agree to make new laws. China would also have to move further towards the U.S. position on other sticking points, such as demands for curbs on Chinese industrial subsidies and a streamlined approval process for genetically engineered U.S. crops.

The administration said the latest tariff escalation would take effect at 12:01 a.m. Friday, hiking levees on Chinese products such as internet modems and routers, printed circuit boards, vacuum cleaners and furniture.

The Chinese reversal may give China hawks in the Trump administration, including Lighthizer, an opening to take a harder stance.

Mnuchin — who has been more open to a deal with improved market access, and at times clashed with Lighthizer — appeared in sync with Lighthizer in describing the changes to reporters on Monday, while still leaving open the possibility that new tariffs could be averted with a deal.

Trump's tweets left no room for backing down, and Lighthizer made it clear that, despite continuing talks, "come Friday, there will be tariffs in place."