Why were the missions built along the coast line?

So they could be serviced by sea. No overland service to speak of when they were 1st established.