Fair, but the implications and chances of a communal flair up are high after what happened to the Nepali migrant workers in Israel. I'm sure the Nepali Govt doesn't want a repeat of 2004.
Mix that with the rise of Hindutva, a bad economy, and divisive discourse across the border for the 2024 elections and things can probably get ugly if precautions aren't taken.
Shutting down TikTok is a small price to pay to prevent actual communal violence.