Sunlight (radiation) heats the top layer of water. This heat is then transferred to lower layers primarily through conduction, as convection would involve cooler, denser water sinking, which doesn't happen when heating from the top.