A person can strongly want a drug even when taking it brings little pleasure. Wanting and enjoying it do not have to change together.
Psychologists Terry Robinson and Kent Berridge proposed an explanation: repeated use can make familiar drug-related places or objects powerful triggers for seeking the drug.
In their theory, losing the pleasure does not necessarily remove the urge. The reminders can still pull strongly.