The steroid reduced the inflammation. Reduced inflammation increased speech:
"The benefit of prednisolone for language scores was more evident in participants who were younger than five years, with a history of developmental regression, but the trial's low dose may have limited this benefit. The observed side effects do not contraindicate corticosteroid use in autism."
Source: The Journal of Pediatrics