Apple said it pulled the Meta-owned apps WhatsApp and Threads from its app store in China on Friday on government orders, potentially escalating the war over technology between the United States and China

The iPhone maker said that China’s internet regulator, the Cyberspace Administration, ordered the removal of WhatsApp and Threads from its app store because of national security concerns. Apple said that it complied because “we are obligated to follow the laws in the countries where we operate, even when we disagree.”

A Meta spokesman directed requests for comment to Apple. The Wall Street Journal earlier reported Apple’s removal of the apps.

A person briefed on the situation said the Chinese government had found content on WhatsApp and Threads about China’s president, Xi Jinping, that was inflammatory and violated the country’s cybersecurity laws. The specifics of what was in the content was unclear, the person said.

Several other global messaging apps had also been removed from Apple’s App Store in China on Friday, including Signal, which is based in the United States, and Telegram, which is based in Dubai, according to Appfigures, a market research firm that analyzes the digital economy. Signal didn’t immediately have a comment and Telegram didn’t respond to a request for comment.

The actions thrust Apple and Meta into an intensifying tussle over technology between the United States and China. In the United States, the House of Representatives was preparing to vote on a bill as soon as this weekend that would force the Chinese internet company ByteDance to sell its popular video app TikTok or have it be banned in the United States. U.S. lawmakers have said TikTok poses a national security threat because of its ties to China. Chinese officials have condemned the push to force a TikTok sale.