Why is Urdu considered an Aryan language?

Re: Why is Urdu considered an Aryan language?

All Aryans came from outside, got mixed with local people (Indus Valley people), and this gave rise to the present population of Northern India and Eastern Pakistan.

But the Indus Valley people were already speaking languages which Sanskrit speaking Aryans called prakrits.
Urdu is one such “Prakrit” (local language), which eventually absorbed words from Sanskrit, and later absorbed words from Persian and other languages.