Government's role is more than just launching rockets at the lowest price point. People deride pork barrel politics and contracts going all over America, but supporting communities is part of the mandate of a government. NASA funding is also partially possible, as politicians can say it is supporting jobs. If they couldn't justify it like that, NASA funding would be a lot less.