What’s wrong with him

my bf of a few years all of a sudden got really distant with me. he barely even touches me and we can barely keep a convo. we’ve been laying in bed for hours and every time i try to touch him he backs away.. why is he like this?