It was “weird” because congress demanded the highest possible scientific and engineering standards, and expense was a distant tertiary consideration.
The reasons were geopolitical, yes, but JFK’s legacy was, I think, equally important.
The underlying issue was building ICBM rockets.