The locomotive connects the bogies well above the center line of the loco wheel. When the loco pulls the frictional force (rolling) times the bogies total weight makes the rear wheels of loco to exert more vertical force (due to moment arm) and this adds up to the loco dead weight.