Origins of Mass Segregation in Stellar Clusters within the STARFORGE Simulations