ಠ_ಠ It's a ritual. A good luck thing. It's something to پمپ the other guys up. It's to say good job. Etc
And it is Ok for some guys's asses to be slapped in other scenarios. Just not all of them like it. I personally don't want my پچھواڑے, گدا slapped سے طرف کی another guy.