It depends on the surface energy of the surface and its interaction with the fluids . Different surfaces have different energies associated with it and hence different liquids interacts with these surfaces in different ways thats why we have hydrophobic aand hydrophillic surfaces