A 10-year-old boy presents to the hospital with features of heart failure. On further history taking, it is uncovered that he has previously suffered from repetitive sore throats. He is diagnosed with rheumatic valve disease according to the 2023 World Heart Federation criteria. What pathophysiology underlies this condition?