President Biden has threatened to impose a windfall tax on oil and gas companies as they continue to rake in profits.