Rip currents are caused by breaks or changes in longshore currents.
Waves continually break upon the shore one after the other, they never stop.Water from previous waves runs underneath the waves currently breaking on the shore. This creates a gentle current that runs along the bottom of the ocean, which pull toward the ocean floor. That is mild than a rip current that doesn't present any danger.