Different types of quarks have different mass
Some more info here. The type of quark that makes up a proton or neutron in combinations of 3 apparently has 1/3 the mass of the final baryon.
Space/Science » in reply to Question for a physicist
Some more info here. The type of quark that makes up a proton or neutron in combinations of 3 apparently has 1/3 the mass of the final baryon.