The Ptolemaic Model followed a geocentric model of the solar
system.
This was then challenged by Nicolaus Copernicus, who claimed a
heliocentric model which sparked an integral part of the Scientific
Revolution called, the Copernican Revolution.
Copernicus' proposal was followed by the Tychonic Model, with
attempted to compromise with the geo- and heliocentric models.
Then, Kepler improved by suggesting elliptical orbits.
The Copernican Revolution came to a close with further
speculation from Galileo Galilei and Isaac Newton
TL;DR Because they were wrong