Because the Earth is a large solid body, it’s entire mass orbits at the same speed. This is the key to tidal forces. The Centripetal force of the Earth is the same across it’s entire diameter, but because gravity depends on distance, the side of the Earth facing the Moon feels more gravity that the side facing away. This results in the tidal force on both sides of the Earth, pointing away from the center.