It’s not discouraging you to take them. You don’t need a car in the country and a car is actually expensive (taxes, insurance, gas, etc.).
The public transport system in unified. One ticket is valid on all the transports. A pass is valid on all the means of transport, even some cable cars.
You can buy a pass for the country or for a local area.
I want to eat an ice-cream in Ticino because of the sun. I hope on the train and go there for the day. No congestion, no driving, nothing. Also, you don’t need a reservation in long distance trains. It’s like a metro system.
It’s not censorship. Social media isn’t the street. It’s mostly private companies and when you post something it’s like saying something inside the building of a private company and not on the street.
The law is about regulating the companies and who can access these spaces.
Lots of countries have a similar law for work. You have age restriction and speech limits by law.
And yes, you can ask for a physical ID and even mandate an in person account opening. Or, you built a national account and social media must use it to allow access.
Most of the people where I live are in favor of this and even until majority including smartphones.