On my Android Firefox 129.0.2 the text only takes up the middle third of the screen horizontally. I get the same linebreaks as in your screenshot though. For me this is not nice to read and feels like way too much wasted space.
Judging also by the lack of padding around section headers I'm pretty sure them being in a smaller font was not a design decision in this case, but rather a lack of testing.