Why do boys lie about having had girlfriends???

When u make sumone the center of u're world..and claim to love her why bother digging into her/his past? As long as his past isn't the present as well..let it be!