Thank you for the opportunity to help you with your question!
From the economic point of view, generally local sourcing is a more sustainable option unless in any specific case it is not economically viable to produce something locally. For example, growing tea requires very particular kind of climate and soil, which is not possible everywhere. Thus companies import tea from places like India (Assam Tea) and China. If somebody tries to produce it locally, the quality will not be very good and customers will not buy it as competitive prices (or, will not buy it at all).
In my location, farmers grow Mangoes and export it to various countries.
Same is true for processed foods. Processing units are generally set up near to producing locations to minimize cost and have continuous availability of raw materials.
Please let me know if you need any clarification. I'm always happy to answer your questions. Kindly best this answer if it has helped you.