.odt is in web layout, long text lines only wrap at right hand side of window. When export as xhtml, the resultant document has unexpected line wraps. I tested by changing the page layout from portrait to landscape and exported again, line wraps moved to wider position but still there. This does not happen when saving the document as html. Export as html is preferred as it seems to match the .odt format better with respect to spaces between lines (save as html puts big gaps between lines) and saves to a single document (save as html sees image files saved outside of the document.)
I can confirm that this behavior is present in Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded as well as Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded