Because the rocket is so huge, they need to build it either next to a waterway for barge transport, or right next to the launch pad which has to be on the coast
Thanks. Next question: Inland waterways are fresh water, and generally they carry the largest volume of water near the coast, so why not build next to a river?