The energy secretary says the government had to make "difficult" decisions to stabilise the economy.