The aluminum granules that are included in the solid caustic drain cleaner is an aluminum oxide that breaks down and re-oxidizes to release hydrogen gas.
The actual breakdown of a clog occurs by reaction with the basic sodium hydroxide (lye).