Mountain bike cassettes have a larger range of sprocket sizes, due to the fluctuating gradients that characterize off-road trails. Riding a flat forest track and then hitting a steep technical climb, requires a major jump in gears. To accommodate this style of riding, the sprocket size jumps are larger; this is more important for mountain biking than providing the smooth shifting of small jumps between sprocket sizes that you get on road cassettes.