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 BoxerTrump riles Dems with pick for powerful EPA job Pelosi's chief of staff stepping down Time is now to address infrastructure needs 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 ReidThe Memo: Trump pulls off a stone-cold stunner The Memo: Ending DACA a risky move for Trump Manchin pressed from both sides in reelection fight 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.