I had something like that pop up on one of my dogs. It was firm, but not boney hard, and not obviously fluidy either. Didn't seem to cause any pain, in fact she acted like she didn't even know it was there. Vet confirmed, bad bruise/contusion. I have no idea how she got it, but it eventually went away.
hope that is all it is!