The president praised Congress for passing recent energy and tax bills .