Because they have their own reason:
1. It's harder for them to tax the money, people have a way to cash out privately which make them can't maximize the tax, unlike stock, ETFs where everything recorded in centralized sites.
2. They're a country where most of the citizen are Muslims, Bitcoin is haram in Islam, hence they ban it.
3. They hate Bitcoin.
Thanks for this response, i had no idea