When the balloon was rubbed against the doggo's fur tail, some of the electrons went on a joyride. The electrons from the fur move into the balloon, charging up the balloon in the process. The balloon becomes negatively charged while the fur becomes positively charged. And, this is the reason why the balloon got stuck to our doggo's tail. Case solved, dear readers!