Both the sun and the moon can cause tides, but the moon is much closer to the earth, so the moon tides are more obvious than the sun tides. Because the moon revolves around the earth, the moon tide will also revolve around it, so it will overlap with the solar tide alternately, and there will be a spring tide in the early and middle stages of the lunar calendar.