Again, what exactly caused Galileo to get arrested I leave to historian of science such as @TedDavis. However, it wasn’t science because of the reasons I wrote here. He was advancing his personal pet theory without any support of scientific evidence.