An 8-month-old infant is diagnosed with infantile spasms. An extensive workup for common causes is negative. An astute resident administers a trial of 100 mg of intramuscular pyridoxine, and the seizures stop within minutes, with normalization of the EEG. What is the underlying pathophysiology?