The best explanation for why the temperature of land near water is different than inland is:
The air over the water affects the air and land nearby.
This is because water has a high heat capacity, meaning it can absorb and store heat. As a result, areas near large bodies of water tend to experience milder temperatures compared to inland areas, which can heat up and cool down more quickly.