Can someone explain to me how it's worse for a foreign government to have your information than your own government having that same information? Your own government is far more likely to actually be able to do something about you.
It probably won't make a difference for you, but if you worked in a government facility and they're spying on you, obtaining credentials, obtaining information on infrastructure in the energy sector, government facilities, etc., getting network credentials, getting floorplans, getting times where a changing of the guard occurs, etc. - any foreign entity can use that info to tear a country down from the inside and kick off a full scale war.
Local government isn't going to self-saborage with that information. Yeah, spying on the citizens is awful and we should avoid any apps/devices that do that too, but that's not as bad as war unless it gets so bad that it gets to a point of civil war which seems unlikely.
That's true but it doesn't apply to the vast majority of people. People who work in the government should be more aware of these things and I believe the tiktok ban started as only on government devices which is a lot more reasonable than a blanket ban.