Ashras narrates that a person asked Hazrat Ibn Abbas (may Allah be pleased with him) about the ebb and flow of the sea, so he replied that an angel is appointed over the surface of the sea. When he puts his foot into the sea, the sea overflows, and when he takes his foot out, the sea recedes.