> They refused to censor the search engine to China’s liking.
Google had no problem with censoring the search results in China. They exited the country after it began hacking into their data centers.
> Since arriving here in 2006 under an arrangement with the government that purged its Chinese search results of banned topics, Google has come under fire for abetting a system that increasingly restricts what citizens can read online.
Google linked its decision to sophisticated cyberattacks on its computer systems that it suspected originated in China and that were aimed, at least in part, at the Gmail user accounts of Chinese human rights activists.
https://www.nytimes.com/2010/01/13/world/asia/13beijing.html