the sand is more likely to be hot because it is on land and the sun can be very hot so i think it would heat the sand. but water is less likely to be heated because its water. and the sun's heat on it would still affect it yes, but not as much as sand