Structural ambiguity and 'because'
I may be missing something but isn't this more a question of negation scope. In which case a simple case of bracketing would explain the difference:
[[NOT discipline] [because he loves them]]
[NOT [discipline because he loves them]]
You'd have to be more explicit about the X' problem.
Original answer: Linguistics Stack Exchange. Licence: CC BY-SA 4.0. Original question by Matt: Structural ambiguity and 'because'.