Why did Italian cities build navies

Answer :

The wanted to drive competitors off the Mediterranean Sea.