Reason: In this section, you set the text in the center of the whole page, because the last page is less than a whole page and the text is in the middle, so the text looks far away from the header.
Solution: Page Layout-Page Setup-Layout-Vertical Alignment changed from center to top alignment.
Change the words applicable to this section to the whole document. Problem solved.