German Chancellor Olaf Scholz said Wednesday he would demand to know why the Afghan suspect in a deadly knife attack had been able to stay in the country.