If the government of EL Salvador had planned to legalize bitcoin as the legal currency in the country then there should have been no incidents of protest by its citizen. We have read a lot of news that protest were held at some point against the government's desire to legalize bitcoin as a legal currency. If the government had planned it well then the citizens should have accepted its decision without incidents like ATM burning.
Some people fear what they don't understand. And more often than not, no amount of explanation is ever enough for people like that. There's also the possibility of vested interests at play. I'm fairly sure it's not possible to introduce something like this without pissing someone off.
Also, there are still plenty of idiots out there protesting against Covid vaccines. I suppose you think no governments should be offering those either?