It doesn't matter what a Chinese student thinks or feels. In 2017, the Chinese government passed the National Intelligence Law of the People's Republic of China. This law explicitly states that "everyone is responsible for state security." What this means is that, if you're a Chinese student going to college in the US, and you are working on research in any field that could even be tangentially related to military applications or intelligence applications, you are required by Chinese law to divulge all of that information to the government. And you will have a CCP handler following and pressuring you to not just hand it over, but to get more information.
Even if that Chinese student likes America, their family is still back in China, under CCP rule. Don't want to hand over the information? Well, it would be a shame if your father lost his job. It would be a shame if your parents lost their house. It would be a shame if your mother was investigated and found to have subversive material on her phone. You don't want to put them through that, now do you?
Besides, plenty of these college kids are fully brainwashed. Even when they come over here, they don't get their news from US media or US sources. The CCP puts out its own news specifically for the Chinese diaspora. These people have been conditioned from birth to believe that the CCP is there to protect them, always has the best interests of the people in mind, and everyone outside of China is the enemy. Sure, there are some who genuinely like America, but there's nothing they can do to fight that 2017 law. You obey, or your family back home pays the price.