This little shock is actually a discharge of static electricity. Nothing mysterious: it’s simply physics. When two differently charged bodies touch, the electrons try to rebalance each other, and presto, a spark occurs.
In short: we all carry a small electrical reserve within us.
Why does this happen to you more often than to others?