It's the letter of the law: media shifting is legal in some places where downloading a copy from an unofficial site is not. Also, there are people out there who would not have the first idea where to look for an existing rip.
I don't know the situation in all of the countries, but the ones I know that allow you to make a copy of what you purchased also require that in making a copy you are not allowed to break any DRM. I don't think there are many media being sold that do not include some kind of DRM these days.
Edit: agree that people may not know how to pirate stuff but ripping something in decent enough quality also requires quite specialist knowledge.
I run it in a podman container, passing my BluRay drive though. It rips automatically, and attempts to even lookup the metadata for the disk to file it properly. It's not perfect, but it does work quite well. The only issue I have with it is it does a poor job on TV shows, but I've found nothing better, so it is good enough for me.