Bubbles are made of soap and water,where water molecules contain two hydrogen atoms and one oxygen atom.Hydrogen has positive charge and oxygen has negative charge,this causes water molecules to attract each another giving water a surface tension.Surface tension makes the thin film of soapy water assume the smallest surface area which is a sphere (sphere has smallest amount of surface area and lowest energy).
The Earth has its own magnetic field , it acts like there is huge bar magnet buried inside,but this bar magnet is not on the earth rotational axis it is shifted by some angle.The south of the bar magnet is on the magnetic north and the south polarity is on the magnetic north(image).As opposite polarities attract the magnetic needle (north) is attracted to the south polarity in the magnetic north.That’s why the needle always points north.If you want to know “why earth has magnetic field?”go to letter E.