As you have discovered if the reference lines are in line then the walls join with no end lines regardless of their heights.
Even if the walls have different composites (fills) there is no end line which in my opinion is a bug.
There is a setting that allows you to turn the end lines on or off but it makes no difference when the reference lines are in line.
Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11