Markets Rally on Strong Earnings Despite Energy Uncertainties