Because I assume you're asking in food faith: Because animals suffer more - medication is not as available for humans. In nature they would starve or fall prey to hunters. As pets we rather give them something to die painlessly than to starve them.
To be clear: It's literally "misery or death" - I hope you'll never get into this situation but seeing a beloved animal suffer through something like this.