It can be caused by infection, but is most commonly caused by autoimmune disorders that affect the major organs. For example, those with lupus are at a much higher risk for developing nephritis. In rare cases, this condition can be genetically inherited, though it may not present in childhood.
Hope this helps:)