Feeling unwanted

My boyfriend has been paying more attention to his phone then me.. I’m constantly having to ask for attention and I still don’t get it. Then he’s always needing the bathroom and takes his phone. But who takes a ten minute dump. Something just seems off.. the other day I asked if we could cuddle and he was on his phone and said he was going back to bed so then I ended up falling asleep and rolled over and hour later to him still being on his phone… our sex life isn’t the same, we hardly have sex and when we do theres no intimacy just in and done.. im just lost