The strong impression I always get from the entire Apollo program is "they didn't know it couldn't be done at the level of technology available, so they did it anyway".
And some guys who had previously succeeded at solving difficult problems under time pressure with limited money. Well, the money was more limited on one side of the war.