The answer is friction. As ocean wave approach the shoreline, they are affected by the sea bed through process such as refraction, shoaling, bottom friction and wave-breaking. However wave breaking also occurs in deep water when the waves re too steep. If the waves meet major structurer or abrupt changes in the coastline, they will be transformed by diffraction.
Near an ocean-continental convergent boundary
The iron in the earth's core is solid due to high pressure.
At the center of the earth is solid inner core, whose size is two-thirds of moon's size mad made up primarily of iron. The temperature in this core is equal to that of the sun's surface at 5,700 degrees Celsius. But the tremendous pressure caused by gravity prevents the iron from becoming liquid.
Surrounding this is the outer core made of nickel and small quantities of other metals and these remain liquid because the pressure here is a bit lower.