We finally have an answer: The beginning and the end of the sliding motion that produces static electricity experience different forces – resulting in a charge differential between the front and the back that results in the crackle of static electricity.
Can anybody smell static electricity? It’s got a very specific smell. Sort of sweet in a weird way.
What you smell is ozone.