Hi,
I think it is intended. If you join walls' axis it will clean up the line between them, no matter if they have different height, width, level, fill etc. If you need line, just draw one or hit F7 to switch off " clean wall intersection".
Greetings