During a fight between the two at one of the juvenile facilities, when Allegra tells Esperanza that she wants out of her group, a particle accelerator exploded, sending a surge of dark matter across Central City. The waves hit Allegra and Esperanza, giving them both the power of electromagnetic manipulation.

Fast forward to the present day, and Allegra is arrested for an apparent murder, and her cousin is presumed to be dead. 

Source link