We are used to a western perspective on marriage, where the playing field is generally level between partners. In Africa, there is often a huge power imbalance between men and women in marriage. A woman particularly might want to keep her prescription status a secret because it suggests that she might be cheating on her husband. Even though it may seem obvious to us in the west that taking medication to avoid contracting HIV from our spouse is an obvious and reasonable thing to do, in Africa, it would be more culturally acceptable for the wife to remain vulnerable to contracting HIV from her husband because that would also infer that she is not sneaking around having sex with other men.
Source: Was born in South Africa.