NASA and SpaceX on Tuesday launched two new missions on a single rocket to collect data from galaxies and the sun.