The term ‘rip tide’ is a misnomer as it refers to a narrow directional flow of water that has nothing to do with the gravitational attraction of the Sun and Moon; it is more of a ‘rip current.’
When waves are pushed against the shore by high winds, the water can respond to the resistance that solid ground generates by travelling parallel to the coastline.
If some of it finds an underwater trench or a gap in a sand bar, it can be channelled rapidly back out to sea, pushed on by the force of the incoming waves.
As this all occurs beneath the surface, it can catch people unaware and so they often get swept out too.
Plus, take a look at: