I'd gotten stung by something before while riding. I think it was some kind of wasp, flew from my left and hit me just over the right eye. I didn't think much of just hitting a bug until it started to sting a little.
From what the OP described, it doesn't sound like a static shock. I've had plenty of static shocks but never did my finger sting for a while after, swell up, or bleed. I've never heard of a bicycle building up such a static charge before, but I have been shocked by carts at the grocery store building up a charge after pushing them for a while, or possibly caused by my shoes on the floor and the shock happens when I touch the cart.
I remember when I was a kid and we got new carpet in our house... it took absolutely nothing to build up a static charge while walking across the room, especially during the winter. We were constantly shocking each other and ourselves every time we touched a door knob. I remember a long string of foil tinsel we hung around our fireplace for Christmas, if you touched that it really hurt. Things were much better after we bought a humidifier.