Why did communism rise in China and Korea?

Why did communism rise in China and Korea? What were the historical and social circumstances for these communist takeovers? Finally, what do you think about the modern day political situation between the U.S., North Korea, and China?