The colour of the sea is different from the darker blue background and pulls the beach forward, and the water upfront has sand underneath and so the different colour pulls the beach front forward
A lot of pulling forward and pushing back is done with the arrangement of colour.