Welcome to the forum. Pacman frogs need to be kept warm, even at night. They do not tolerate temperatures much below 21 °C (70 °F). His not eating was not the cause of his death, but a symptom of a greater problem.