[post_page_title]How she got her powers[/post_page_title]
In the movie, Carol finds out that Yon-Rogg had killed Mar-Vell during a confrontation at the crash site of her plane. Carol then absorbed the power core – which is how she got her powers before being taken by the Kree.
This scene mirrors a similar moment in the comics, as Mar-Vell and Yon-Rogg face off again, after he’s kidnapped Carol Danvers. Then a Kree machine called the Psyche-Magnitron explodes, which kills Yon-Rogg and gives Danvers her powers. Either way, it seems that Yon-Rogg is responsible for Carol gaining powers.