Crude oil hit its highest levels in months and bond yields continued to rise as investors worried about diminishing energy supplies and the prospect of accelerating inflation.