getting off

So my boyfriend says that having sex doesn't get him off. He does it just because he wants me to feel good. But he will masturbate like everyday? I'm confused. Like I don't want to have sex if he isn't going to get off either. And I'm a little confused on why he'll get off from me sending him nudes but not from having sex? Can anyone give advice or explanations?