1830, American English, probably a back-formation of jelly (v.). Related: Jelled; jelling. Figurative sense is first attested 1908. Middle English had gelen "congeal," but it disappeared 15c.
[second sense perhaps fr the notion of productively sitting still as a gelatin pudding does]