The Alter Egos are alternate personalities separated from the ego of BB. Indeed, Alter Egos.
Alter Egos are a group of high-level AI’s created by BB in CCC.
These girls who were created from BB’s emotions each have a soul, and are active in the cyber world as entities completely separate from BB.
Creating a soul is not a difficult task for Moon Cell, this is because the design and structure of souls has already been discovered. The problem lies in whether the soul can become self-aware once put into its “container.”
The Alter Egos were all created as incomplete copies, so in order to account for this flaw they were each bestowed with independent self-awareness separate from BB’s.
Each Alter Ego inherits a single emotion from their progenitor BB. This is why Passionlip is embodied with despair, and Meltlilith is a disciple of destruction.
To digress, in the original design plans for CCC there were 5 Alter Egos, and during development they were called “The Sakura Five.” Before the release of CCC they were pit head-to-head in a cruel life or death competition. Passionlip and Meltlilith are the two Sakura of the five who were victorious and survived to the end [in order to make it into the game].