One of the reasons that nutrients in a vegetable patch might be considered abiotic is: Nutrients are mostly obtained from the soil.
This is because biotic factors refer to living organisms (like plants and animals), while abiotic factors refer to non-living components of the ecosystem, such as soil, water, and minerals. Since nutrients are derived from the soil, they are classified as abiotic factors in the ecosystem.