The statement that is NOT a reason that coastal areas are densely populated is:
Farming is more difficult in these areas.
Coastal areas are generally more densely populated due to opportunities for trade, flat land that is ideal for farming, and the presence of river deltas that are good for agriculture, rather than difficulty in farming.