Because round cardboard "boxes" are very hard to implement correctly (ever try putting a hinge on a round object?) and if you cut a pizza into concentric round "slices", you end up with doughnuts.
Why is it that a pizza box square, a pizza is round, and the slices are triangles ? It's a mystical question, maybe only the Gods know..