During the Korean War which statement is true?

A. US entered to stop the spread of capitalism
B. US entered to help stop the spread of communism
C. All are true
D. US entered to help North Korea