Didn't use to be that way. Android phones with Qualcomm SoCs used to be incredibly easy to modify with alternative versions of Android. That changed around 2014-15, can't remember why.
Now it seems only Google's own Pixel phone is the only one that's hackable enough to run LineageOS or /e/ or other de-Googled distros.