Why in some countries Bitcoin is banned is the accepting of Bitcoin by websites and that are illegal .
It is a simple answer. The government knows that bitcoin is a way to avoid their regulations and to avoid the central banking system. That's why they want to regulate or ban it outright.
However these actions taking by the government is usually ineffective because the bitcoin technology is P2P and they can't shut the entire network down.