My bf prefers to masturbate than have sex

So my parents came to town last night and I went home to spend the night with them. since I live with my bf he spent the night alone, the next day he picked me up and while we were catching up he mention that he masturbated 3 times last night and I was like wow ( keep in mind we haven’t had sex in more than a week ) and I’m like damn so you prefer to masturbate than have sex and he was like mmmm well yeah, I feel kinda sad like not kinda i am sad and I feel like I’m not attractive to him anymore so he prefers to masturbate by himself as much as he can and not have sex with me. Any advice?