Chapter numbering is set according to heading numbering, which should be set according to
How to create numbered headings or outline numbering in Ribbon Versions of Word by Shauna Kelly. If your numbering is not set up in this way you get what is technically described as "spaghetti numbering."