I don't understand why the US's aid to China during the Chinese Civil War was considered to be wasted. Why would that be?

The U.S. goal was to keep China free from Communism. The money was wasted because China adopted a Communist government.

http://en.wikipedia.org/wiki/Chinese_Civil_War