I'm updating my own post. After a few weeks of this odd pain, I passed a small kidney stone or maybe a bladder stone, like the size of a grain of sand. I've had kidney stones cause electric zapping pain before, but apparently they can cause just a general ache feeling too. My penis feels much better now, lol.