Cats and dogs are different in many ways, but they are also alike in many ways. For example, they both like to catch mice and bring them into the house; it’s in their nature and they just can’t resist it. That’s why there’s no point in shaming them about it. I can see how a pet might feel bad about peeing on the couch, but they’d never feel bad about catching a mouse.
This person was probably horrified to see their cat proudly stroll in the house with a mouse in their mouth and they didn’t know how to react. You can train your pet to be obedient, but you can’t teach them something that’s against their nature; you can’t explain to them why catching mice and bringing them inside the house is bad behavior.