As others have said, when you tighten the nut down, it cuts threads into the nut which is what holds it in place. Where I work, there is a minimum breakaway torque required for nylon nuts to be reused, but they generally just get replaced, especially for rotating machinery.
In this case, I...