The US president is ratcheting up pressure on South Africa over its domestic and foreign policy.