The problem is that the Chinese government has almost total control over Chinese apps, so American citizens are rightly afraid that Chinese apps might serve as vehicles of Chinese government propaganda.
It's totally okay for both America and China to ban whatever foreign stuff they want, though, and both of them have very good reasons to do so.