A testy exchange ensued around the government’s performance on the economy and infrastructure.