Usually it comes to a pyonephrosis with a purulent pyelonephritis with secondary obstruction, for example, by a stone. However, it can also be caused by a secondary infection with hydronephrosis.