Galileo didn't get in trouble for his theories about the Earth and the Sun, he got in trouble for making theological conclusions from them, and for being an utterly insufferable douche who also managed to personally piss off the pope.
His theories also did not have a scientific backing, given the knowledge available at the time, and were closer to wild-ass guesses that just happened to be right.
His theories also did not have a scientific backing, given the knowledge available at the time, and were closer to wild-ass guesses that just happened to be right.