Boyfriend issues

My boyfriend has been acting very distant towards me and I don’t know why . The only time he pays attention to me is when he wants sex .🤦🏾‍♀️