OP, there are several explanations here, and I don't need to add another. I just wanted to say that you're doing great. The fact you're asking this question, that you noticed something you thought was confusing, that you explained it using terms you understand, and that you're looking to make sense of it is all praiseworthy.
The types of people who become mathematicians think like you do. In this moment of confusion, you did **not** just repeat to yourself some shortcut or rule, you did **not** just take the textbook's/teacher's word for it -- you *started thinking*.
People who see math as steps to do, shortcuts to memorize, rules to obey, and procedures to follow will do *fine* in high school (because of the sad way high school math is usually taught), but they will not go far past that.
Never stop thinking.
(The only thing I'd add to your thought process is this: try to answer the question, "what does *cancel* mean in this situation?" I avoid using the word "cancel" when I am teaching because it means different things in different scenarios. What's really happening when you cross things out in this expression?)