How can they be born in Germany and be Nigerian and Algerian citizens?
I’d have to guess that Germany considers them to be citizens of whatever country their parents are from.