Why is data sovereignty important for a country’s security and autonomy?

Rahul Gandhi criticized the government for not being transparent about data sovereignty. I want to explore how controlling and protecting data within national borders affects a country's security, economy, and independence.