Boyfriend weird about period

So last weekend I was at my boyfriends house I was on my period we have had period sex before it doesn’t bother him. Whenever he wanted sex with me he couldn’t care about the fact I was bleeding yet if I tried to initiate something he would be like ew go away your on your period I don’t want to have sex even though he would of already had sex with me earlier on in the day?? Feels like when he wants something it doesn’t matter but if I’m in the mood he just shoved me away