Any obvious reasons why it has enjoyed this success while its southern neighbour hasn’t?
South Africa also props Botswana up via a customs union.
https://www.tralac.org/news/article/6931-surge-in-botswana-s...
There's plenty of factors that helped, I can think of a dozen right off the top of my head, but the one that made a crucial difference is in my opinion really the above.
Basically this: https://en.wikipedia.org/wiki/Seretse_Khama#Presidency