Turns out, the making of a beloved, red-and-white-striped delight can reveal quite a bit about global economics.