The U. S. ambassador to South Africa accused the country Thursday of providing weapons and ammunition to Russia for its war in Ukraine via a cargo ship linked to a sanctioned company that docked secretly at a naval base near the city of Cape Town in December.