There was very little appetite after the war to prosecute in Germany by Germans. This only started lately..
As an example only very recently was 100+ year old camp guard prosecuted..
It also did not help that in many instances after the war these prosecutors were former nazis right up until the seventies
(https://amp.dw.com/en/germany-report-spotlights-nazi-legacy-of-postwar-prosecutors/a-59856638)