When German economy starts to collapse, Nazis will eventually start Holocaust.
Remember, that official party line, was that economic problems was caused by Jews. Many Nazis believed their own propaganda.
They already stuffed Jews into ghettos, so they'll conclude that just wasn't enough to stop them from sabotaging economy. And they'll decide its necessary to get even harsher.
And if you'd say that maybe Germany's economic troubles could have other causes than Jews, well, you're obviously Jewish spy.
That is the only explanation as to why Nazi were conducting Holocaust during war, rather than wait until after victory.
Sane person would note, that doing so while you need trains to transport supplies to front, is counterproductive. But if you literally, non-ironically, believe that killing Jews is best way to help your war effort, you're gonna prioritise killing Jews over supplying armies on front.
Crazy? Well, duh.
For comparison, Stalin murdered many Ukrainian peasants. Why? My theory, is that he noticed that Soviet economy was shit, so he wanted to improve it. How you improve economy, if you're a communist? You collectivise it. Economy does even worse? "Well, damn, I'll better hurry with collectivisation, that'll make everything better. Soon". Even worse? "Damn, I should better kill those kulak hoarders who sabotage our economy". Cue fields of corpses.