Why would a boyfriend make up a lie about a girlfriend and then start seriously believing it?

Insecurity. They aren't very creative or interesting by themselves, so they need to create drama in life.