Because of how SI units evolved historically; basically, there was the "cgs" version of the metric system, and the "mks" version, and the latter won out. (Note that neither version has all three "base" units pure in terms of metric prefixes--the first has centimeters instead of meters, the second has, as you note, kilograms instead of grams.)