No more sex

So my boyfriend and I used to have sex all the time. Nothing has changed at all in the relationship he just started acting weird and is distancing him self and never wants to have sex or cuddle anymore. What is wrong? Can anyone explain this to me we haven't had sex in over a month :(