Soap scum is formed when the minerals in hard water react with the soap to form insoluble salts. This reaction is a chemical change because the starting materials (soap and hard water) are converted into a new substance (soap scum).