Scalding the milk (bringing it up to 180 F) kills any bacteria that may have contaminated the milk, ensuring that you're starting off with a clean slate of only the bacteria in your starter culture. As a result, your yogurt will be consistent in flavor and texture from batch to batch.