The first reason is that in the past humans didn't necessarily see the connections between the oceans and thus labelled them that way separating them into 5 oceans and the names stuck to this day.
Secondly, while all the oceans of the world constitute one large Ocean, people need some way to identify each part of it since it is easier to think when we have different categories instead of one large category.
Hope that helped!