My family had a dog for awhile that was somewhat like that. Even when she’d been begging for it, if you reached down to pet her, she’d sink to the floor as if cowering in fear.
She, however, had an excuse—it was pretty clear a previous owner had abused her. We were able to give her a much better life though. :)