The moon pulls on Earth like a giant magnet. The water in the ocean is pulled by this gravity, making it rise and fall. When the moon is close to Earth, the tides are higher. When it’s farther away, they’re lower. It’s like when you pull a rope, the water follows!