Each developer specify the minimum android version and certain hardware configuration such Ram and Rom limit in the android studio while he developing his app. That's why the google play allow that app to download for those android device that could complete the developer specified requirement.