Galileo's Scientific Discoveries, Cosmological Confrontations, and the Aftermath