The inventory carrying cost should reflect not only the cost of capital tied up in inventory, but also the risk of holding that inventory.
Inventories have an associated carrying cost which is in part composed of the risk of holding inventory.