Not defending Apple, but when they restrict sideloading it's because they made both the software and the hardware. They didn't exploit thousands of open source developers who basically worked for free making Android what it is right now, only to be hijacked by Google. I used to use Android but I did notice a huge decline around 2015, which was around the time when the Android creator left Google.