Typhus is very contagious. The Nazis would have murdered them all if it were just a few cases, but a disease that contagious in a population of 8,000 would have quickly and easily spread to them as well. They just quarantined the area.