The German chancellor made restricting migration a central campaign issue when he ran for office in 2025.