China is planning to limit electricity to Bitcoin miners, and government bodies have expressed concern about energy usage. Bitcoin mining is estimated to use up to 4 gigawatts of electricity, equivalent to three nuclear reactors' production levels. So, I think it is the mainly reason to ban mining bitcoin.