Sometimes the compliment itself is fine, but other people in the room feel they deserve it more.
"Nice job! You really are the best at X in this company by far!" isn't received well by the two, several years more senior, X-ers sitting right next to me.