Astronomers and the making of modern physics