Depending on the chemical compounds of the oil, which can be affected by type, region grown, season harvested, etc., as well as triglyceride levels. Many factors influence if olive oil will harden or get cloudy, including how long it remains at a low temperature.