Think of a hurricane like a giant heat engine.
The ocean gives it energy, and the storm keeps converting that heat into wind.
As long as it stays over warm water, it keeps sucking up more moisture and growing.
The moment it hits land or cooler water, it loses fuel and weakens.