That's reductionist. The bigger picture is: why do some people end up with drug addiction as their coping mechanism, but others don't. Why aren't all abuse victims drug addicts? What separates the ones who fall down that hole and the ones who don't? Opportunity? If not opportunity, then what is that X factor? That's why you get to the larger questions of disease, responsibility, and moral failing.
Telling someone who is already in more pain than they can handle that they are sick, weak or immoral is not a good idea. After all, they might decide it is true.
When a serious alcoholic is puking themselves nearly to death as they try and get sober, they aren't trying to escape some childhood trauma or "stress". They are trying to escape a physical addiction that has already dramatically altered their mind and body and may possibly kill them.
You may be confusing the cause of drug use with the consequences of repeatedly using addictive drugs. Eventually, the drug addiction replaces all other problems. It's not a representation of other problems.
> In another experiment, he forced rats in ordinary lab cages to consume the morphine-laced solution for 57 days without other liquid available to drink. When they moved into Rat Park, they were allowed to choose between the morphine solution and plain water. They drank the plain water. He writes that they did show some signs of dependence. There were "some minor withdrawal signs, twitching, what have you, but there were none of the mythic seizures and sweats you so often hear about ..."
https://en.wikipedia.org/wiki/Rat_Park
Also, before you argue that humans are different than rats, the same thing was observed with soldiers in Vietnam. Many were addicted while they served but when they returned to the US, the large majority quit and very few relapsed.
Most people who get addicted to drugs are using them to escape pain. This is occasionally physical but usually mental. It is memories of traumatic experiences or abuse, loss, stress, etc.
That is why incarceration is so counterproductive, you are just giving the addict more pain they need to escape. Also treating drug addiction itself without understanding and addressing the underlying reason for it will just lead to constant relapsing.
I recommend the book Chasing the Scream for people who want a better understanding of drug addiction.