It's unclear if the shuttle was actually safer or if NASA is just more honest about the odds of catastrophic failure.

There are reasons to think Artemis is safer. It has a launch abort system that the shuttle lacked. Reentry should also be much safer under Artemis; the capsule is a much simpler object to protect.