Because there is a limited amount of compost with a limited amount of minerals. In the garden there is loads of soil and loads of minerals. because of decomposition and absorption minerals can easily be replaced in the garden soil, unlike in a plant pot.