It seems to be a combination of the tilt, the angle of difference in plan and the height of the walls.
If I take the two left side walls on the top storey that are not trimming and reduce their height then they will trim correctly.
It seems you have discovered this when you had multi-storey walls with the problem.
Cutting them down in height to show on each floor solved the problems.
On all but the top storey,
There they just don't ant to trim unless you break down their height further.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11