Fentanyl detox affects emotions as well as the body.
https://www.recreateohio.com/detox/fentanyl-detox/
Anxiety, low mood and cravings are common during fentanyl detox. Counseling and encouragement can ease the sense of being alone. Mental health care is part of good treatment.