Distribution is hard. We throw away so much food because it is cheaper throw it away than transport it to where it is needed. "Cheaper" in this context does not refer to a capitalistic construction, but the real resources necessary to transport (mostly perishable) goods across the world and get them to everyone who needs them.