Explain the direction of waves on sea shore
Waves are generated by wind. But aside from small local winds, most of the waves you see at the shore are generated by stronger winds far out on the sea from where they start to propagate into all kinds of directions.
Imagine a point in the middle of the sea where waves with different directions are created. They will propagate away from this point until they hit ashore, therefore they can only move towards the shore not away from it.
This is also why waves always break towards the shore and not away from it. Waves in deep water are more or less circular waves which will go unhindered until the ground is too shallow for the circular motion to go on. See here: