Adsorption is a phenomenon of attracting and retaining of an adsorbate substance on the surface of adsorbent resulting of higher concentration of adsorbate molecules on the surface.
Adsorption is generally an exothermic in nature as there is release of energy.
Being spontaneous in nature,the change in free energy(deltaG) is negative.This is due to the fact that entropy change(deltaS) is negative because the adsorbate molecules lose their translational freedom when attatched to the surface of adsorbent.So,in order for deltaG to be negative,deltaH must be sufficiently negative.Such that (deltaG = deltaH – TdeltaS)<0.But in case of some endothermic adsorption reactions like in case of adorption of H2 gas on glass.DeltaH is positve and there is change from----
H2 -----------> 2H,in which deltaS is suffuciently positive such that deltaG remains positive.Thus driving force for such adsorption comes from increased entropy.