Why did the arrow deviate from the rod when both of them acquired an electric charge?

The electrometer and the rod will be of the same sign, and the bodies of the same name will repel.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.