By the same government that directed Central Bank to enforce every other commercial banks to stop Bitcoin or any other crypto related transactions back in February. Nigerian government is a joke. They labelled it unsafe because it is decentralized. I believe they want all power to themselves and wants to keep her citizen's in a centralised circle.
I don't think you should be surprised with their action toward cryptocurrency before they announced the creation of their own CDBC because 95% of all the governments are addicted to playing politics with their citizen and don't care if they hurt their feelings. Besides, what we see here is their government playing theirs just like the Chinese government.