This sums up all three characters perfectly!
C-3PO: Could solve everything right now but he was designed by an angsty child and must make things difficult. It’s in his programming.
Han: Is use to being around other scoundrels who have no qualms about shooting their way out/are generally competent and is getting really sick of C-3PO’s “proper” shit.
Luke: Knows full well he could get them all out of this right now but they’ve got time and Han’s reaction is just too good.