I'm not sure what to title this

So I'm not exactly sure what's going on with me, but lately, I've been having erotic dreams about some guys my boyfriend used to go to middle school with and he now despises. It's weird though because I barely know them and I am mad in love with my boyfriend and would never consider cheating on him or breaking up with him for one of them. It's been about 3 months since we last had sex because we decided to take a break from it. Could that potentially be the cause ?