When a plastic rod is rubbed with a cloth, the plastic rod becomes negatively charged as electrons from the cloth are deposited on the plastic rod.
The plastic rod becomes negatively charged because the plastic possesses a more significant attraction for electrons than the cloth.
The glass rod becomes positively charged because the cloth possesses a more significant attraction for electrons than the glass rod.