It have been a bug that have been reported many times that Hatch dont eat when you dont look at it.
So if you dont go with a screen over to them, then they will not eat and starve to death.
So the hatch starve him self to death because not getting enuf attention.
Steps to Reproduce
Move the screen so that you cant see the hatch, wait till it starves to death.
This issue has been fixed in either a future version or updated in a previous version.