if you are born in america to illegals, you are automatically an american citizen.
children born in Germany are entitled to adopt German citizenship if at least one parent has lived for eight years in Germany and has a perpetual residence permit.[9][10]
the German approach is much more reasonable.