Because each type of plant needs different types of nutrients. So these nutrients are depleted from the soil. For the replacement of these nutrients farmers use excessive chemical fertilizers, which ruins the soil making it either too alkaline or acidic. So crop rotation will help in giving the soil the needed time and certain bacteria (eg - rhizobium ).so monoculture is bad for soil.