Oh, it is a real problem nowadays. There are such apps that are used to hack your phones. Yesterday, I found the list of such tools for Android at https://celltrackingapps.com/spy-app-for-android-undetectable/. And there is much be a way about how to find and delete them.