Strangers rushed to help when they heard a girl screaming for help before the tide rose.