A pat on the back may be a way of consoling someone who is sad, upset, or hurt. It is not always praise, but can also be comforting in this way. It can be a way of saying, “I’m here for you” or “I’ve got your back.” :)
It’s the little, inconspicuous things, really… ☺