Because a few ships a year are expendable for the global economy.
Not worth it to try to make every ship less sinkable - e.g. it may decrease the number of annual losses by 50% at the cost of making an average ship 10% more expensive - obviously a bad trade. Some ships will still sink, because of stuff like human errors.