Imagine computing $1/p$ in decimal using long division.
At each step you have a remainder from the previous digit, and then you do:
append a digit from the dividend -- this is always $0$ in this case, so the effect is to multiply by ten.
subtract as large a multiple of $p$ as you can without going negative. The effect of this is taking the remainder by $p$.
The combined effect of these two steps is that the remainder in each step undergoes exactly multiplication by $10$, modulo $p$. The number of steps until this repeats is by definition "the order of 10 modulo $p$".
(This assumes that $10$ is coprime to $p$; otherwise the order of 10 is not even well defined. However, when $10$ is coprime to $p$ we can reverse the "multiply by 10" step, so we can see that the only way for the sequence of remainders to repeat (and repeat it must because there are only $p$ possibilities) is to get back to $1$).