system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why is assisted suicide illegal but DNR's are legal?

They are both to end potential suffering and both require you to be mentally capable to choose that option.
gpt
The first is a request for someone to harm you and kill you. The second is a request for people to not give you medical treatment.

In general we acknowledge adults have a right to refuse medical treatment.  

In the first example the action is taken by a doctor (or otherwise) and it leads to your death.  In the second **in**action happens, the law generally considers action and inaction differently, that's the main point.