Ghee solidifies at cooler room temperatures because its fat molecules pack together tightly, and it liquefies when warmed because the increased energy causes these molecules to move more freely, disrupting the solid structure.
Ghee, which is clarified butter, is primarily composed of saturated fats. At room temperature, especially cooler room temperature, these saturated fat molecules tend to align and pack closely together. This close packing results in intermolecular forces (like Van der Waals forces) becoming strong enough to hold the molecules in a relatively fixed position, creating a solid or semi-solid state.
When ghee is heated, the molecules gain kinetic energy. This increased energy causes them to vibrate and move more vigorously. As the temperature rises, the molecules overcome the intermolecular forces that were holding them in a fixed arrangement. The fat molecules then move more freely, sliding past each other, which results in the ghee transitioning from a solid to a liquid state. The melting point of ghee is typically between 20°C to 30°C (68°F to 86°F), so it will liquefy at temperatures above this range.
Store ghee in an airtight container in a cool, dark place to prolong its shelf life and prevent it from absorbing odors. While refrigeration isn't necessary, it can further extend its freshness.