Try dividing a pizza by zero. It doesn’t make sense.

In math, dividing by zero breaks the rules. If you allow it, it leads to something called a “trivial ring” where apparently everything becomes zero, making math boring and useless. So, we say it’s undefined to keep math consistent and useful.