Paragraph breaking to second page despite plenty of room on the first page

I’m running Scrivener 3 on Windows. I wrote a few pages today and then compiled into PDF. The last two lines of the last paragraph breaks onto a new page despite the first page having half a page left. The paragraph does end with a footnote. The actual footnote is at the bottom of the first page, but the footnote number is at the end of the sentence, which is on the next page!

I made sure there is not page break right before the last two lines. I can’t seem to find any formatting that may be causing this. Any advice on how to fix this issue?