That's not a weird stance at all. Twitter/X is blocked in China because it refuses to comply with Chinese law on censorship. China's law criminalizes behavior on censorship, which adheres to what modern notions of legal jurisprudence. The US law criminalizes origin and ownership, which violates a legal principle on bills of attainder.
Factually incorrect. China didn't ban US apps, it required US apps to obey local Chinese censorship laws. Some apps (like LinkedIn) stayed in compliance and stayed, while others left China.
A solar industry won't give you the type of engineers and technicians that can be conscripted into a project to vitrify your enemy's capital city though. That's a big minus
It's interesting how the Chinese diaspora was able to drive a large amount of China's economic growth, but the same is not true for the Indian diaspora.