The study examined data from 25,000 children born during the coronavirus pandemic.