Basically, they only pretend it's "medical" in order to gatekeep and rentseek care. Since they are interested in profit rather than actual services, their systems tend to have many issues.
I mean, fun story time; back in 2014 my dad's house was broken into, and among other things they stole was a bottle of a benzo, and while most of my dad's medications were untouched they stole his blood pressure meds.
As I was opining this to a colleague, another employee that was within earshot explained that no, for certain things it can 'enhance' the high... go figure.
(Sadly mostly through dealing with others navigating it, in case anyone is jonesing for judgement.)
Then it's a societal choice between the benefits of easier access to it for medical use (non-OTC drugs are harder to get when you need them) plus lower burden on law enforcement when it does not have to deal with this anymore, and the opportunity cost to society when some people don't use it responsibly and waste their chances. I see positives and negatives for both choices.
(I don't believe other drugs being legal is an argument, alcohol and tobacco wouldn't be legal if discovered today but because they have widespread use it's impossible to forbid them)