Final answer:
When a charged rod is brought near a neutral metal sphere, the opposite charges are attracted towards the rod, causing an initial attraction. However, when the sphere touches the rod, the charges redistribute, leading to like charges repelling each other with a stronger force than the attraction between opposite charges, resulting in the sphere being repelled.
Step-by-step explanation:
When a charged rod is brought near a neutral substance, the distribution of charge in atoms and molecules is shifted slightly. Opposite charge is attracted nearer the external charged rod, while like charge is repelled. Since the electrostatic force decreases with distance, the repulsion of like charges is weaker than the attraction of unlike charges, and so there is a net attraction.
Thus, when a positively charged glass rod is brought close to the neutral metal sphere, the opposite charges in the metal sphere are attracted towards the rod. However, when the sphere touches the rod, it suddenly flies away from the rod. This is because the charges in the metal sphere redistribute, and now the like charges repel each other with a stronger force compared to the attraction between the opposite charges.
This repulsion causes the metal sphere to be repelled away from the rod, creating a net repulsive force.