The enemies on the west coast of India created obstacles in the work of expansion of the Swaraj.
It was necessary to curb their activities and to protect the west coast.
Shivaji Maharaj also realized that the one who has a navy, controls the sea. Hence, Shivaji Maharaj raised a navy.