I've read it as a criticism of giving money to a country which is rich enough to fund a space program, when there isn't enough money to fund initiatives at home. Sure, space programs are great, but unlike food and health care they are not a necessity.