No, that's called marking. It's 100% a problematic behavior if they're doing it inside of your home, and you'll need to do some housebreaking and training, but it doesn't mean they're upset with you. It's an instinctual behavior.