Once I moved the phone to another room at night, I was forced to fall asleep without being distracted. Being alone with my thoughts was extremely uncomfortable the first few nights, but it got better. Now I'm used to falling asleep without distraction and am more in touch with how I feel. So my phone was causing me to become out of touch with my thoughts/feelings which would in turn make it even more uncomfortable to confront them, so I would turn to my phone for distraction and this reinforcing cycle continued until broken. The phone was both a symptom and cause of my sleeping problem, so removing the phone removed the cause and fixed my sleep.