Gelatin's gelling properties come from its unique molecular structure, which forms a network when hydrated with water. This network traps liquid, giving gelatin the ability to create a gel-like texture.