If you were to shoot a gun from the Moon towards the Earth, the bullet would not hit the Earth. There are several factors to consider:
Lack of Atmosphere: The Moon has virtually no atmosphere compared to Earth. On Earth, the atmosphere causes significant air resistance that affects the trajectory and speed of a bullet. Without an atmosphere to slow it down, the bullet fired from the Moon would continue on a straight path until influenced by other forces.
Escape Velocity: To leave the Moon's surface and overcome its gravitational pull, an object needs to achieve a velocity of approximately 2.38 km/s (1.48 miles/s). However, the escape velocity required to leave Earth's gravitational pull is much higher at around 11.2 km/s (6.95 miles/s). A bullet fired from the Moon would not attain the escape velocity necessary to overcome Earth's gravity.
Earth's Gravity: While the Moon's gravity is about one-sixth of Earth's gravity, it still exerts a significant force. When the bullet is fired from the Moon, it would initially be influenced by the Moon's gravity, causing it to follow a curved path around the Moon rather than heading directly to Earth.
Considering these factors, a bullet fired from the Moon would travel for some distance but eventually fall back to the Moon's surface due to the Moon's gravity. It would not reach Earth unless additional propulsion or forces were applied to counteract the Moon's gravity and achieve escape velocity.