well , this is an interesting perspective I never thought of , don’t really buy it , but interesting none the less …https://io9.gizmodo.com/this-theory-shows-why-c-3po-is-the-secret-hero-of-star-1829149241
I think there’s evidence for this theory in the original movie, but after that he was written to be much more bumbling and less crafty.