1. Check that you are using the correct document template for the footnotes or endnotes.
2. Check the line spacing of the document.
3. Check the line spacing of the paragraph style associated with the footnote or endnote.
4. Modify the settings to achieve the desired line spacing.