Trump's comments came while complaining that Biden was undermining his transition to power by banning offshore energy drilling in most federal waters.