Paying for something someone wants isn’t the same as a surprise gift.
A parent buying a pet for their kids is actually a parent buying a pet for themselves; the parents very well know the pet is ultimately their responsibility.
I don’t think anyone is saying to not do those things. It’s the surprise of a pet that is heinous.