[post_page_title]There was supposed to be another ending[/post_page_title]
There was actually supposed to be a different ending to the film, in which Carol flies off into space on her own, but Brie Larson thought they could do better. Why was she going into space, and where was she going?
She felt like Carol needed a specific goal and mission for the ending to really make sense. Having to help Talos and his family find a home provided a true purpose for the character, who recently rediscovered her life on Earth. She needed a reason to leave, and this was it.