Because a lot of people eat them, and there's a lot of production, so there are good economies of scale.
Economies of scale help a lot with food, and shipping via sea is relatively inexpensive, so locally produced food doesn't have as much of an advantage as you'd expect if the farmer has to derp around in his pickup truck to deliver it.
I just checked my last grocery receipt, paid $1.74/kg.