Aside from critical mass of connections and any real or perceived prestige associated with LHR, it’s sinply in a much better location than LGW.
LGW is tucked into the south-east. You would have to drive past LHR from vast swathes of the southern half of England and beyond just to reach LGW.