You need to do this because apk files are files of third-party developers and companies. Android doesn’t allow them to install their files on your mobile phone.