The primary cause of RHD is an untreated or inadequately treated streptococcal throat infection. The infection triggers an autoimmune response in some children, where the body's immune system mistakenly attacks its own tissues, including the heart valves. This autoimmune reaction can lead to inflammation and scarring of the heart valves, resulting in RHD.