You can't just gel oil, or indeed any fat, because gelling materials aren't fat-soluble. So there are various tricks for making fat behave differently that will allow it to bind with water and gelling materials.