Friction can buildup of electrical charges because let's say ur running a balloon on your hair it will cause static electricity. Therefore rubbing too things together causes friction then a buildup of electrical charges.
Hope this helps! :) good-luck! Have a wonderful and beautiful day! :D