"They believe that the gates of heaven are opened at midnight on October 31, and the spirits of all deceased children (angelitos) are allowed to reunite with their families for 24 hours. On November 2, the spirits of the adults come down to enjoy the festivities that are prepared for them."
https://www.mexicansugarskull.com/support/dodhistory.html