This is because density of the oil is less than the density of the water hence oil float on the surface of the water, but water sink in the oil liquid.
The force of cohesion of oil molecules is lesser than the force of adhesion between themolecules of oil and water. Therefore, oil spreads over the surface of water. But force of cohesion of water molecules is greater than the force of adhesion between water and oilmolecules. Therefore, water does not spread over oil surfaces but takes spherical shape.