They buy a large plot of land near the coastline, build condos on the far land side of it, and sell the condos advertising "bay views". Once the first block is sold out, they build the next one in front of it closer to the coastline, and sell more "bay views".
It's crazy how they can get away with advertising the view even if construction on a building that will block the view has already started.