The joke is that people (including the main character/OP) feel comfortable criticizing others when those others don't know about the criticism, but as soon as they do, the anti-confrontational/cowardly/etc. part of them immediately regrets being critical.