The mobile view https://test2.m.wikipedia.org/w/index.php?title=User_talk:YBG&oldid=310902 has two identical lines with inline images. The first, in the lede section, is laid out correctly. The second one, after the first section header, is laid out with each image and each span of text as a separate left-aligned block.
In desktop view https://test2.wikipedia.org/w/index.php?title=User_talk:YBG&oldid=310902, both lines are laid out identically as expected with the images in line.
This was originally observed inside a table header spanning all columns ( ! colspan=6 | ... ), but it turns out that the table has nothing to do with the problem.
The cause is that lazy-loaded images make the incorrect assumption that all images are block content, but this is not a correct assumption. Please follow the definitions of core, or just don't wrap the lazy loaded image.