The same reason they don't have the right to drive but do have the right to emergency treatment if they're in a car crash..
Are you denying that people have a right to their own bodies !? They do and it isn't just because someone said so.