Because of the medication shortage, children across the country with the condition fell behind in their schoolwork over the spring, and their relationships often suffered as they struggled to regulate their emotions, according to interviews with multiple doctors and parents.