Because the State wants to attract well educated international workers to fix it's failing economy?
So, attracting the international workforce to come Germany vs being able to fully utilise them are completely different ballparks..
Immigrants with fewer opportunities are more likely to try to learn the language and integrate. When a country is offering them something they can't find anywhere else, it makes more sense to go through all that effort. Even knowing that they will probably never fully fit in.