PSGN is caused by an immune response to a preceding streptococcal infection, such as strep throat or impetigo. The body produces antibodies to fight the bacteria, but these antibodies can eventually form immune complexes that get trapped in the glomeruli of the kidneys, leading to inflammation and impaired kidney function.