They started evacuating because they knew that the countries that made up the Allies group were advancing into Nazi-dominated territory.
We can arrive at this answer in the following way:
As the Nazi concentration camps involved a lot of war crimes, the Germans knew that they would be tried very violently by the Allies and so they decided to evacuate the camps and destroy the evidence that they had been there.
More information:
https://brainly.com/question/19106581?referrer=searchResults