Can you? All beer is contaminated, by definition sanitizing only reduces microorganisms to safe levels. Every fermentation is a competition, every beer contains unwanted microorganisms, and that's why some get pasteurised to extend shelf life.
Poor yeast preparation could initially let a contamination grow and deprive the pitched yeast of essential nutrients, which could have caused poor fermentation performance in the first beer. After your pitched yeast had eventually gone through its growth (fermentation), by the act of cropping, you could have selected much healthier yeast than you started with. Especially, if you top cropped.
One beer pitched with unhealthy yeast that won't flocculate, one with healthy yeast that will.
Beer is never infected, but always contaminated.