Don't you think there are other problems down here on earth deserves some care?
This is a naive proposition. A large government cannot and must not focus all of its resources on one problem. The United States has immediate problems such as undernourished poor people, poorly maintained roads, and retired military personnel who have lost limbs in the service of their country. It has intermediate term problems such as dealing with less than friendly nations and combatting terrorism. It has longer term problems such as ensuring the country remains competitive, that the populace is well educated, and that the country remains at the forefront of science. These are just a few of the many concerns the United States government, or any large government for that matter, must constantly address.
And why NASA with all the technology couldn't find a way to cut cost on rocket launches.
You should realize that NASA has invested heavily in SpaceX, and has done so for the last 13 years. SpaceX arguably would not exist had it not been for those heavy investments. NASA made those heavy investments against the more pork-laden elements of Congress. Those port-laden elements are what has driven the development of the Space Launch System, aka the Senate Launch System. But just as NASA is not of one mind, neither is Congress. Some elements of Congress have seen that those pork-laden approaches are not the best way to go.
NASA is required to follow the budget mandates levied by Congress and the President. One of those mandates has been to invest in private approaches to space transportation. This has been a smallish but very successful endeavor.
Another mandate is to use a more traditional pork-laden approach. The investment in pork has also been successful, at least from the perspective of some elements of Congress. Congresscritters are elected (and reelected) in part based on their ability to bring home some bacon.