In an ideal rubber, elasticity does not arise from internal energy (enthalpy) changes. Instead, the elasticity comes from the entropy-driven restoring force of the long-chain polymer molecules. When rubber is stretched, the polymer chains become more ordered, reducing entropy. When released, the system returns to a higher entropy state, producing an elastic restoring force. Thus, enthalpy remains nearly constant, while entropy changes significantly.