We had reached the moon after he said we would after almost a century. Other countries where interested because it had never been done before and we where in a space race/cold war with Russia.
World War II really forced the issue of America being segregated while at the same time African-American soldiers were dying on behalf of their country.
For many, this contradiction was a bridge too far and started to push conversations around desegregation.