White rust forms around aluminum windows because aluminum reacts with water and oxygen in the air to form aluminum hydroxide, which appears in a white, powdery form on the surface of the metal. Magnesium oxide, on the other hand, typically forms as a result of burning magnesium metal or a chemical reaction involving magnesium in a laboratory setting. It is not typically associated with aluminum windows.