Dreams are the opposite of reality.
Dreams are also the reorganization of the subconsciousness of the cerebral cortex.
This can explain the following points:
1. Your ex-boyfriend loves you very much, and he still loves you, even though he knows you can't.
You love your boyfriend very much, and he loves you. The reason why you have a dream is because you care too much about him and are afraid that he will not want you one day.
Your current boyfriend is very kind to you, cherish it and wish you happiness!