(Please help asap, brainliest. I have been stuck on this for forever!!)

How did the United States go from a successful containment measure in Korea to a failed war in Vietnam?