The Bubble''s shape is spherical so as to reduce the surface tension. With the given volume of liquid,Spherical surface only fits i minimizing the surface tension to a greater extent than other shapes viz. cylindrical,cubical etc. and hence the shape is spherical.