Did Galileo develop theory that what makes apples fall keeps planets in their orbits?
No. Galileo experimented with gravity and began developing the theory. But Sir Isaac Newton was the mathematician who proposed the inverse-square law of universal gravitation, which hypothesized that gravity is what keeps the planets in their orbs. He said that his theory was inspired by watching an apple fall from a tree.