Why did Alan Shepard go to the moon?

Because it is there! Like climbing Mount Everest. Also as a technology exercise, and to explore first hand.