The ratio of the areas of the triangle and rectangle below is $1:2$.

So why isn't the ratio of volumes of a cone and the smallest cylinder that contains it $1:2$? If each "slice" has a $1:2$ ratio then shouldn't the volumes have a $1:2$ ratio as opposed to a $1:3$ ratio?