Mebbe long since terminated, but SA used to be pretty tight with Israel. Could have been cheaper to buy their proven missiles rather than develop their own AMRAAM.
Exports is the name of the game. Brazil has been very tight with them. A lot of Middle Eastern powers (UAE, Algeria) also have defense ties with them. That’s a closed market for Israel.
It was the white people and government that was friends with Israel.