Shares rose Tuesday, pushing the Dow and S&P 500 to new records as investors continued to fend off rising Covid cases from the Delta variant.

A bipartisan $ 1 trillion infrastructure bill was passed in the Senate to allay concerns about a slowdown in economic growth in the wake of the pandemic. The return on the 10-year yield rallied on Tuesday.

The Dow Jones Industrial Average rose about 176 points to hit a new intraday high. The S&P 500 rose 0.2% after hitting an intraday high at the start of the session. Meanwhile, the Nasdaq Composite lost 0.4%.

Bank stocks rose amid the surge in bond yields, but investors gave up technology stocks as rates rebounded. Goldman Sachs was up nearly 2%. Wells Fargo and Bank of America both gained more than 1.5%. The so-called FANNG names, however, were all in the red.

Energy stocks rebounded Tuesday after spearheading market declines on Monday, fueled by a fall in oil prices. Exxon Mobil and Chevron rose more than 1% on Tuesday and Diamondback Energy rebounded more than 2%. The US oil price rose 1.6% on Tuesday.

Stocks tied to the economic reopening also made up some of their losses on Monday. Norwegian Cruise Line was up 2% and American Airlines was up 1%.

The Senate passed a bipartisan infrastructure bill worth $ 1 trillion on Tuesday. The plan, which sees $ 550 billion in new spending on traffic and broadband, is expected to help boost the economy as peak growth slows after reopening after the pandemic.

During Monday’s regular trading, the Dow fell more than 100 points amid fears a wave of Covid cases could slow demand. The S&P 500 lost 0.1% and the Nasdaq Composite rose 0.16%.

AMC’s stock rose 4.7% on Tuesday after reporting a smaller-than-expected loss. The company also announced that it will accept Bitcoin in all US locations starting this year.

The winning season continues after the bell, and Coinbase will be reporting. The stock, which trades closely with Bitcoin price, fell 3% on Tuesday. SoftBank and Sysco will also report.

Bitcoin price fell 1.5% on Tuesday after rising 5% on Monday to its highest price since May.

Investors are waiting for the consumer price index and producer price index data, both of which measure inflation, to be released on Wednesday and Thursday, respectively. A handful of central bank spokespersons, including Chicago Fed President Charles Evans and Kansas City President Esther George, are also expected this week. Investors will watch out for clues as to how the Fed plans to scale back its bond purchases.

CNBC Pro Stock Pick and Investment Trends: