Disentangling interatomic repulsion and anharmonicity in the viscosity and fragility of glasses