The “mortise” is the recess where the tenon goes. It can be cut by hand with a mallet and mortising chisel, or mechanically ...
Cutting the tenon on a table saw with a dado blade is much easier, rather than adjusting the tenon thickness to fit the mortise. Are there exceptions to the rule? Sure, with some specialty routing ...