The different wing profiles are used for multiple reasons. The inboard wing structure often houses the landing gear, provides adequate structure to mount engines, contains the bulk of the fuel and often has a thick airfoil that provides excellent low speed lift. A thinner profile outboard of the engines can help reduce drag, may employ laminar flow profiles and are often configured to reduce shockwave formation.
We also may have configured the wing to control stall characteristics and allow for roll control during a stall.