Because it takes the product over the different axes. Product is used here as in cartesian product of sets.