Magisk is a way to handle root on Android, it allows to insert system modules to change some things deep in Android.
There used to be a feature called Magisk Hide that could make apps unable to detect you were rooted. Now you have to install other modules to circumvent safety net and other checks.
It's an arms race : google changes the way it detects things, and modules developers update their circumvention techniques. Try to search "magisk hide 2024" and you should find more information
It's true that it makes some things more complicated, but it's a trade-off that I'm willing to make for the convenience and security of hosting my own backups.