Hey! I've gotten these jolts and pains before myself. Much of the time, they aren't really provoked by any one thing, though I do notice if I have been lifting heavy things or carrying things I may get the pain more frequently. Also, just from breathing improperly because of our anxiety, it can cause muscular pains in our chest. Most of my pains are in the center or the left side of my chest, so they used to really freak me out, and then on occasion, I would get the palpitations or a flip flop feeling I suppose from the adrenaline of being so scared that something was wrong with me.
I also get that after pain/bruised feeling you mentioned. Sort of like after I get a migraine, I have like post headache/bruised feeling, I have a similar sensation of an achy bruise after the pain, so I have come to be the conclusion it must be muscular and/or stressed nerves. A few years back I went to the doctor after having an increased frequency of these pains and he said it was intercostal pain, something like costochondritis or something, basically pain and inflammation where the bones and muscles meet the cartilage of the breastbone, like that joint. Told me to take some otc pain relievers to help. Not sure if this is what you are experiencing, but in any case, chest pain like this is common with anxiety.
Take care and I hope you got some rest!