First of all, this can only represent errors in your operation and cannot prove that word is out of the question.
Below, you can learn how to use indexes and catalogs correctly in Word.
First, the premise condition
Before you can use indexes and directories, you must first insert captions.
Execute menu "Insert" → "Reference" → "caption", as shown below.
Pop up the following Image dialog box, and then randomly select a label, such as "Chart", and then click "OK".
This inserts the caption in the document.
Ii. proper use of indexes and catalogs
Looking at the following diagram, you have inserted a caption in the document by using the above method, and now, on a different line, let the insertion bar appear below the caption.
After that, the Execute menu "Insert" → "reference" → "index and table of contents", in the dialog box, select a table of figures or other tabs, arbitrary settings, you can insert the index and table of contents.
As shown above, this is the caption and index and table of contents.