Public support for NASA drives the members of Congress to allocate funds for its work. So, NASA spends a whole lot of effort showing the public how cool its work is. That, and it divides its facilities and subcontractors across the various states to ensure that every member of congress has constituents who benefit from its payroll.