Is it such a surprise to you that a complex machine such as an aircraft undergoes final assembly in one place, using parts and components made in another place? This is how just about everything is made.
Did you think Boeing mines its own aluminum ore, alloys it, forms it into panels, makes its own composite turbine blades, and fabs its own silicon chips?