Hydraulic action is a process where pounding waves compress trapped air in the rocks, creating an explosive blast which weakens and loosens rock fragments.
Attrition is a process where rock fragments are slowly ground down by friction from waveaction into smaller and rounder pieces which can then be used as an abrasive material.
There may be erosion on both sides of the headland due to wave refraction until eventually the sea cuts through the back walls of the caves, forming an arch.