We did this even though the white South African government was a staunch U.S. ally in the Cold War, while Nelson Mandela's African National Congress had extensive Communist and Soviet ties.
Nelson Madela's African National Congress had extensive Communist and Soviet ties, which is why it was hated by the USA.