why does line separating solids and liquids have a negative slope for water, while most compounds have a phase diagram with a positive slope?

Water is less dense at lower temperatures.