This work investigates the effect of electromagnetic field on relativistic compact stellar structures coupled with anisotropic collapsing fluid under the framework of string-motivated Gauss-Bonnet-powered gravity. Using the power-law form of Maxwell-GB corrections, the stellar structure equations dubbed as Tolman-Oppenheimer-Volkoff (TOV) equations are developed. In the presence of a power-law form of f ()-corrections, an evolution equation for the Weyl scalar is obtained, which plays a central role in the investigation of the examined fluid configuration. It is observed that the existence of shear in the fluid flow, irregularities in the distribution of energy density, dissipative fluxes, and modified Gauss-Bonnet corrections are the certain factors that are accountable for generating anisotropies in an originally isotropic fluid distribution. Some of the interesting consequences of formulated results are examined.