What if all the files change to that name after the word document on the desktop is renamed?

Press ctrl+z immediately to resume the rename operation.

This situation is because when renaming a word document, other word documents are selected at the same time, which leads to the naming of any one of them, and other documents will be renamed accordingly.