That’s not specific to japanese, it’s just the way that it works - if it can’t fit the next word on a line, it begins a new line and then line-wraps if it still doesn’t fit. I guess it could be a bit smarter and look-ahead for the case where the word wouldn’t fit on an entire line either.