To counter the communist Soviet Russia, the United States needed to compete with the Soviets after they launched a man into space because the world needed to see how superior the democratic and capitalist US is.
Hence, increased in funding, research, and testing to lead to the Moon Landing.