Here's why:
* Gravity is a fundamental force of the universe. It exists everywhere and acts between any two objects with mass. This means any two objects, no matter how small or large, have a gravitational attraction between them.
* Celestial bodies are just objects with mass. So, the sun, the moon, planets, asteroids, and even you and me have gravity!
So, the answer to your question is: Gravity comes from any two objects with mass. The strength of the gravitational force depends on the mass of the objects and the distance between them.
For example, the sun has a lot of mass, so it has a strong gravitational pull on the Earth. This is why the Earth orbits the sun.