This is due to the presence of microorganisms, including fungi, bacteria, and viruses, that can linger on the surfaces of the pot and adversely affect your plants.
While this method works for most types of containers — plastic, ceramic, and other harder materials — it is best to use warm, soapy water to disinfect wood containers.