Paragraph styles get messed up when saved to and/or loaded from docx file format. For more details and a test file where this happens please see https://ask.libreoffice.org/t/libreoffice-writer-is-messing-up-my-styles-how-to-fix-this/103471