I have 2 baby corn snakes and I fed them both about three days ago. I went to check on them today and I found one of them dead with only his head buried. I don’t know how this could have happened and I feed them frozen pinkies so they don’t get fed live. It also looked like he still had a lump in his belly from the mouse so he might’ve died the night I fed him. Any suggestions on how this could have happened?
Sorry to hear about the snake. There's a pretty large array of things that could have happened. You might already know a lot of this, I tried to be thorough. I also tried to rank them in order of likelihood, but other may have different opinions.
Shedding complications - You didn't mention anything about shedding, but stuck sheds can be very dangerous for young snakes especially. Any stuck sheds should be dealt with promptly. Additionally, shedding in patches is a sign of illness.
Illness/infection - It's entirely possible that the snake was sick or got an infection. Something like snake mites that's less serious for an adult snake could pose elevated risk to young ones. If you haven't already, i recommend removing the live snake, and completely disinfecting their enclosure.
Improper environment - While corn snakes aren't too particular about their environmental needs, babies are more susceptible to lapses in husbandry. Heat in particular is important for digestion. Apologies if this sounds accusatory, but it's worth mentioning.
Genetic defects - If you got the snakes from a pet store or mass breeder, they could have had some genetic defects that were completely out of your control.
Food poisoning - While not very common, it's possible that the pinkies you used were contaminated. Most of the time, the prepackaged ones are safe, and the fact that the other snake is still alive suggests this isn't it, but it's still a small possibility.
Unfortunately, the only way to know for sure would be to shell out some money for some tests. I would just keep a close eye on the remaining snake to see if you spot anything out of the ordinary.