BBC:
Germany and all its neighbours are part of the Schengen border-free zone and under European Union rules temporary controls are allowed "as a last resort measure, in exceptional situations" for up to six months.
...
The three-parties in Chancellor Olaf Scholz's government have come under increasing pressure to respond to poor results in state elections in eastern Germany where immigration was the biggest issue.