If it is in our societal interest to produce more milk so people can eat, and the market doesn't do so, requiring subsidy, then that is a failure of the market to meet society's need.
You're conflating the failure of a marketplace to function properly (as in smooth functioning of supply, demand, liquidity, etc) with the failure of the marketplace to provide social benefit.