Security is the biggest bullshit excuse for anything. If security was needed then why are there vulnerable apps on the Play Store?
True reason is they are concerned people are side-loading 3rd party browsers and apps to bypass ads and premium stonewalls. All in the name maximising whatever small % of ad revenue.
That's not the same as still allowing side loading. The whole point is to have software with no ties or restrictions from Google.