Because Einstein (and to some degree current physics still) wasn't perfect. [In that, for example, the mass of thought itself has not been incorporated into physical theory] The cosmological constant did not exist before time.