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.
We did not do this, because the white South African government was a fierce enemy of the United States.