Cornyn’s comment came after the Senate voted for a third time to reject House Republicans’ conditions on a continued resolution (CR) to fund the government.

House GOP leaders tried several tactics to defund or change the implementation of ObamaCare in the CR. The Senate rejected them each time, creating a stalemate that resulted in a shutdown of the federal government at midnight Tuesday.

Democrats and Republicans have been blaming each other since the government shutdown. Cornyn said he thinks President Obama was politically motivated to allow a shutdown.

“The Majority Leader and President Obama really want a shutdown because they are reading polls that say this may benefit them politically,” Cornyn said. “A shutdown was not my first choice. I thought surely cooler heads would prevail.”

Sen. Barbara BoxerBarbara BoxerBarbara Boxer recounts harassment on Capitol Hill: ‘The entire audience started laughing’ 100 years of the Blue Slip courtesy Four more lawmakers say they’ve been sexually harassed by colleagues in Congress MORE (D-Calif.) said Republicans blaming Democrats for the shutdown was something right out of "Alice in Wonderland" because they have compromised by accepting Republican's spending level.

Senate Majority Leader Harry ReidHarry ReidVirginia was a wave election, but without real change, the tide will turn again Top Lobbyists 2017: Grass roots Boehner confronted Reid after criticism from Senate floor MORE (D-Nev.) and other Democrats said if the House would first pass a “clean” funding bill, then they would be willing to enter negotiations on a long-term measure.