It's not exactly a pretense, but rather it's playing to the audience, which is the country and the rest of the world. It's theatrics, not intended to sway the lawmakers themselves, who in general are not persuadable by their colleagues.
Meanwhile, behind closed doors, lawmakers are horse trading and calling in favors to get their pet projects passed.
This is pretty much how Congress has worked for the past 100 years or so.