Soil pH affects the availability of nutrients. If the pH is too acidic or too alkaline, plants may not be able to absorb the nutrients they need to grow.